atproto blogging
at main 57 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.graph.getSubscribers", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get subscribers to a notebook (accepted subscriptions only).", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "notebook" 12 ], 13 "properties": { 14 "cursor": { 15 "type": "string" 16 }, 17 "limit": { 18 "type": "integer", 19 "default": 50, 20 "minimum": 1, 21 "maximum": 100 22 }, 23 "notebook": { 24 "type": "string", 25 "format": "at-uri" 26 } 27 } 28 }, 29 "output": { 30 "encoding": "application/json", 31 "schema": { 32 "type": "object", 33 "required": [ 34 "notebook", 35 "subscribers" 36 ], 37 "properties": { 38 "cursor": { 39 "type": "string" 40 }, 41 "notebook": { 42 "type": "ref", 43 "ref": "sh.weaver.notebook.defs#notebookView" 44 }, 45 "subscribers": { 46 "type": "array", 47 "items": { 48 "type": "ref", 49 "ref": "sh.weaver.actor.defs#profileViewBasic" 50 } 51 } 52 } 53 } 54 } 55 } 56 } 57}