atproto blogging
at main 64 lines 1.6 kB view raw
1{ 2 "lexicon": 1, 3 "id": "app.bsky.graph.getLists", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Enumerates the lists created by a specified account (actor).", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "actor" 12 ], 13 "properties": { 14 "actor": { 15 "type": "string", 16 "description": "The account (actor) to enumerate lists from.", 17 "format": "at-identifier" 18 }, 19 "cursor": { 20 "type": "string" 21 }, 22 "limit": { 23 "type": "integer", 24 "default": 50, 25 "minimum": 1, 26 "maximum": 100 27 }, 28 "purposes": { 29 "type": "array", 30 "description": "Optional filter by list purpose. If not specified, all supported types are returned.", 31 "items": { 32 "type": "string", 33 "knownValues": [ 34 "modlist", 35 "curatelist" 36 ] 37 } 38 } 39 } 40 }, 41 "output": { 42 "encoding": "application/json", 43 "schema": { 44 "type": "object", 45 "required": [ 46 "lists" 47 ], 48 "properties": { 49 "cursor": { 50 "type": "string" 51 }, 52 "lists": { 53 "type": "array", 54 "items": { 55 "type": "ref", 56 "ref": "app.bsky.graph.defs#listView" 57 } 58 } 59 } 60 } 61 } 62 } 63 } 64}