atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.notebook.resolveNotebook",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Resolve a notebook by actor + title/path, returns full detail.",
8 "parameters": {
9 "type": "params",
10 "required": ["actor", "name"],
11 "properties": {
12 "actor": { "type": "string", "format": "at-identifier" },
13 "name": { "type": "string", "maxLength": 300 },
14 "entryLimit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 },
15 "entryCursor": { "type": "string" }
16 }
17 },
18 "output": {
19 "encoding": "application/json",
20 "schema": {
21 "type": "object",
22 "required": ["notebook", "entries"],
23 "properties": {
24 "notebook": { "type": "ref", "ref": "sh.weaver.notebook.defs#notebookView" },
25 "entries": {
26 "type": "array",
27 "items": { "type": "ref", "ref": "sh.weaver.notebook.defs#bookEntryView" }
28 },
29 "entryCursor": { "type": "string" }
30 }
31 }
32 },
33 "errors": [{ "name": "NotebookNotFound" }]
34 }
35 }
36}