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": [
11 "actor",
12 "name"
13 ],
14 "properties": {
15 "actor": {
16 "type": "string",
17 "format": "at-identifier"
18 },
19 "entryCursor": {
20 "type": "string"
21 },
22 "entryLimit": {
23 "type": "integer",
24 "default": 50,
25 "minimum": 1,
26 "maximum": 100
27 },
28 "name": {
29 "type": "string",
30 "maxLength": 300
31 }
32 }
33 },
34 "output": {
35 "encoding": "application/json",
36 "schema": {
37 "type": "object",
38 "required": [
39 "notebook",
40 "entries"
41 ],
42 "properties": {
43 "entries": {
44 "type": "array",
45 "items": {
46 "type": "ref",
47 "ref": "sh.weaver.notebook.defs#bookEntryView"
48 }
49 },
50 "entryCursor": {
51 "type": "string"
52 },
53 "notebook": {
54 "type": "ref",
55 "ref": "sh.weaver.notebook.defs#notebookView"
56 }
57 }
58 }
59 },
60 "errors": [
61 {
62 "name": "NotebookNotFound"
63 }
64 ]
65 }
66 }
67}