atproto blogging
at main 42 lines 998 B view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.resolveGlobalNotebook", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Resolve a notebook by its global path. Only returns notebooks with publishGlobal enabled. Used for subdomain routing.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "path" 12 ], 13 "properties": { 14 "path": { 15 "type": "string", 16 "description": "The global path to resolve (e.g., 'cooking' for cooking.weaver.sh)" 17 } 18 } 19 }, 20 "output": { 21 "encoding": "application/json", 22 "schema": { 23 "type": "object", 24 "required": [ 25 "notebook" 26 ], 27 "properties": { 28 "notebook": { 29 "type": "ref", 30 "ref": "sh.weaver.notebook.defs#notebookView" 31 } 32 } 33 } 34 }, 35 "errors": [ 36 { 37 "name": "NotFound" 38 } 39 ] 40 } 41 } 42}