atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.notebook.resolveEntry",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Resolve an entry by actor + notebook + entry title/path.",
8 "parameters": {
9 "type": "params",
10 "required": ["actor", "notebook", "entry"],
11 "properties": {
12 "actor": { "type": "string", "format": "at-identifier" },
13 "notebook": { "type": "string", "maxLength": 300 },
14 "entry": { "type": "string", "maxLength": 300 }
15 }
16 },
17 "output": {
18 "encoding": "application/json",
19 "schema": {
20 "type": "object",
21 "required": ["entry", "record", "notebookCount"],
22 "properties": {
23 "entry": { "type": "ref", "ref": "sh.weaver.notebook.defs#entryView" },
24 "record": { "type": "unknown" },
25 "notebookCount": { "type": "integer" },
26 "notebooks": {
27 "type": "array",
28 "maxLength": 10,
29 "items": { "type": "ref", "ref": "sh.weaver.notebook.defs#notebookView" }
30 }
31 }
32 }
33 },
34 "errors": [
35 { "name": "NotebookNotFound" },
36 { "name": "EntryNotFound" }
37 ]
38 }
39 }
40}