at main 35 lines 999 B 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": ["notebook"], 11 "properties": { 12 "notebook": { 13 "type": "string", 14 "format": "at-uri", 15 "description": "AT-URI of the notebook containing the entry." 16 }, 17 "index": { 18 "type": "integer", 19 "minimum": 0, 20 "default": 0, 21 "description": "Zero-based index of the entry in the notebook's entry list." 22 } 23 } 24 }, 25 "output": { 26 "encoding": "application/json", 27 "schema": { 28 "type": "ref", 29 "ref": "sh.weaver.notebook.defs#bookEntryView" 30 } 31 }, 32 "errors": [{ "name": "NotebookNotFound" }, { "name": "EntryNotFound" }] 33 } 34 } 35}