atproto blogging
at main 46 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getNotebook", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get a notebook view by its AT-URI, including hydrated author profiles and entry list.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "notebook" 12 ], 13 "properties": { 14 "notebook": { 15 "type": "string", 16 "description": "AT-URI of the notebook to fetch.", 17 "format": "at-uri" 18 } 19 } 20 }, 21 "output": { 22 "encoding": "application/json", 23 "schema": { 24 "type": "object", 25 "required": [ 26 "notebook", 27 "entries" 28 ], 29 "properties": { 30 "entries": { 31 "type": "array", 32 "items": { 33 "type": "ref", 34 "ref": "com.atproto.repo.strongRef" 35 } 36 }, 37 "notebook": { 38 "type": "ref", 39 "ref": "sh.weaver.notebook.defs#notebookView" 40 } 41 } 42 } 43 } 44 } 45 } 46}