atproto blogging
at main 44 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getBookEntry", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get an entry view by notebook URI and index, including prev/next navigation within the book.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "notebook" 12 ], 13 "properties": { 14 "index": { 15 "type": "integer", 16 "description": "Zero-based index of the entry in the notebook's entry list.", 17 "default": 0, 18 "minimum": 0 19 }, 20 "notebook": { 21 "type": "string", 22 "description": "AT-URI of the notebook containing the entry.", 23 "format": "at-uri" 24 } 25 } 26 }, 27 "output": { 28 "encoding": "application/json", 29 "schema": { 30 "type": "ref", 31 "ref": "sh.weaver.notebook.defs#bookEntryView" 32 } 33 }, 34 "errors": [ 35 { 36 "name": "NotebookNotFound" 37 }, 38 { 39 "name": "EntryNotFound" 40 } 41 ] 42 } 43 } 44}