atproto blogging
at main 50 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getPage", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get a page with its entries (all entries, since pages display together).", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "page" 12 ], 13 "properties": { 14 "page": { 15 "type": "string", 16 "format": "at-uri" 17 } 18 } 19 }, 20 "output": { 21 "encoding": "application/json", 22 "schema": { 23 "type": "object", 24 "required": [ 25 "page", 26 "entries" 27 ], 28 "properties": { 29 "entries": { 30 "type": "array", 31 "items": { 32 "type": "ref", 33 "ref": "sh.weaver.notebook.defs#entryView" 34 } 35 }, 36 "page": { 37 "type": "ref", 38 "ref": "sh.weaver.notebook.defs#pageView" 39 } 40 } 41 } 42 }, 43 "errors": [ 44 { 45 "name": "PageNotFound" 46 } 47 ] 48 } 49 } 50}