atproto blogging
at main 52 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getNotebookChapters", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get all chapters for a notebook.", 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 "chapters" 35 ], 36 "properties": { 37 "chapters": { 38 "type": "array", 39 "items": { 40 "type": "ref", 41 "ref": "sh.weaver.notebook.defs#chapterView" 42 } 43 }, 44 "cursor": { 45 "type": "string" 46 } 47 } 48 } 49 } 50 } 51 } 52}