atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.notebook.getNotebookChapters",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get all chapters for a notebook.",
8 "parameters": {
9 "type": "params",
10 "required": ["notebook"],
11 "properties": {
12 "notebook": { "type": "string", "format": "at-uri" },
13 "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 },
14 "cursor": { "type": "string" }
15 }
16 },
17 "output": {
18 "encoding": "application/json",
19 "schema": {
20 "type": "object",
21 "required": ["chapters"],
22 "properties": {
23 "chapters": {
24 "type": "array",
25 "items": { "type": "ref", "ref": "sh.weaver.notebook.defs#chapterView" }
26 },
27 "cursor": { "type": "string" }
28 }
29 }
30 }
31 }
32 }
33}