atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.notebook.getEntryByTitle",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get an entry view by notebook URI and title. Matches on either the entry's path or title field.",
8 "parameters": {
9 "type": "params",
10 "required": ["notebook", "title"],
11 "properties": {
12 "notebook": {
13 "type": "string",
14 "format": "at-uri",
15 "description": "AT-URI of the notebook containing the entry."
16 },
17 "title": {
18 "type": "string",
19 "maxLength": 300,
20 "description": "Title or path of the entry to fetch."
21 }
22 }
23 },
24 "output": {
25 "encoding": "application/json",
26 "schema": {
27 "type": "object",
28 "required": ["entry", "record"],
29 "properties": {
30 "entry": {
31 "type": "ref",
32 "ref": "sh.weaver.notebook.defs#bookEntryView"
33 },
34 "record": {
35 "type": "unknown",
36 "description": "The raw entry record data."
37 }
38 }
39 }
40 },
41 "errors": [
42 { "name": "NotebookNotFound" },
43 { "name": "EntryNotFound" }
44 ]
45 }
46 }
47}