at main 49 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getNotebookByTitle", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get a notebook view by actor and title. Matches on either the notebook's path or title field.", 8 "parameters": { 9 "type": "params", 10 "required": ["actor", "title"], 11 "properties": { 12 "actor": { 13 "type": "string", 14 "format": "at-identifier", 15 "description": "Handle or DID of the notebook owner." 16 }, 17 "title": { 18 "type": "string", 19 "maxLength": 300, 20 "description": "Title or path of the notebook to fetch." 21 } 22 } 23 }, 24 "output": { 25 "encoding": "application/json", 26 "schema": { 27 "type": "object", 28 "required": ["notebook", "entries"], 29 "properties": { 30 "notebook": { 31 "type": "ref", 32 "ref": "sh.weaver.notebook.defs#notebookView" 33 }, 34 "entries": { 35 "type": "array", 36 "items": { 37 "type": "ref", 38 "ref": "com.atproto.repo.strongRef" 39 } 40 } 41 } 42 } 43 }, 44 "errors": [ 45 { "name": "NotebookNotFound" } 46 ] 47 } 48 } 49}