at main 45 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getEntryNotebooks", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get notebooks that contain an entry. An entry can appear in multiple notebooks.", 8 "parameters": { 9 "type": "params", 10 "required": ["entry"], 11 "properties": { 12 "entry": { 13 "type": "string", 14 "format": "at-uri", 15 "description": "AT URI of the entry" 16 } 17 } 18 }, 19 "output": { 20 "encoding": "application/json", 21 "schema": { 22 "type": "object", 23 "required": ["notebooks"], 24 "properties": { 25 "notebooks": { 26 "type": "array", 27 "items": { "type": "ref", "ref": "#notebookRef" } 28 } 29 } 30 } 31 } 32 }, 33 "notebookRef": { 34 "type": "object", 35 "description": "Reference to a notebook containing this entry.", 36 "required": ["uri", "cid"], 37 "properties": { 38 "uri": { "type": "string", "format": "at-uri" }, 39 "cid": { "type": "string", "format": "cid" }, 40 "title": { "type": "string" }, 41 "owner": { "type": "ref", "ref": "sh.weaver.actor.defs#profileViewBasic" } 42 } 43 } 44 } 45}