at main 38 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getEntryDetail", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get an entry with its containing notebooks in a single call.", 8 "parameters": { 9 "type": "params", 10 "required": ["entry"], 11 "properties": { 12 "entry": { "type": "string", "format": "at-uri" }, 13 "notebookContext": { "type": "string", "format": "at-uri" } 14 } 15 }, 16 "output": { 17 "encoding": "application/json", 18 "schema": { 19 "type": "object", 20 "required": ["entry", "record", "notebookCount"], 21 "properties": { 22 "entry": { "type": "ref", "ref": "sh.weaver.notebook.defs#entryView" }, 23 "record": { "type": "unknown" }, 24 "notebookCount": { "type": "integer" }, 25 "notebooks": { 26 "type": "array", 27 "maxLength": 10, 28 "items": { "type": "ref", "ref": "sh.weaver.notebook.defs#notebookView" } 29 } 30 } 31 } 32 }, 33 "errors": [ 34 { "name": "EntryNotFound" } 35 ] 36 } 37 } 38}