at main 34 lines 898 B 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": ["page"], 11 "properties": { 12 "page": { "type": "string", "format": "at-uri" } 13 } 14 }, 15 "output": { 16 "encoding": "application/json", 17 "schema": { 18 "type": "object", 19 "required": ["page", "entries"], 20 "properties": { 21 "page": { "type": "ref", "ref": "sh.weaver.notebook.defs#pageView" }, 22 "entries": { 23 "type": "array", 24 "items": { "type": "ref", "ref": "sh.weaver.notebook.defs#entryView" } 25 } 26 } 27 } 28 }, 29 "errors": [ 30 { "name": "PageNotFound" } 31 ] 32 } 33 } 34}