atproto blogging
at main 62 lines 1.4 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getNotebookDetail", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get a notebook with its entries in a single call.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "notebook" 12 ], 13 "properties": { 14 "entryCursor": { 15 "type": "string" 16 }, 17 "entryLimit": { 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 "entries" 36 ], 37 "properties": { 38 "entries": { 39 "type": "array", 40 "items": { 41 "type": "ref", 42 "ref": "sh.weaver.notebook.defs#bookEntryView" 43 } 44 }, 45 "entryCursor": { 46 "type": "string" 47 }, 48 "notebook": { 49 "type": "ref", 50 "ref": "sh.weaver.notebook.defs#notebookView" 51 } 52 } 53 } 54 }, 55 "errors": [ 56 { 57 "name": "NotebookNotFound" 58 } 59 ] 60 } 61 } 62}