atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.notebook.getContinueReading",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get notebooks the user is currently reading, sorted by most recent activity.",
8 "parameters": {
9 "type": "params",
10 "properties": {
11 "limit": { "type": "integer", "minimum": 1, "maximum": 20, "default": 10 }
12 }
13 },
14 "output": {
15 "encoding": "application/json",
16 "schema": {
17 "type": "object",
18 "required": ["items"],
19 "properties": {
20 "items": {
21 "type": "array",
22 "items": {
23 "type": "object",
24 "required": ["notebook", "progress", "nextEntry"],
25 "properties": {
26 "notebook": { "type": "ref", "ref": "sh.weaver.notebook.defs#notebookView" },
27 "progress": { "type": "ref", "ref": "sh.weaver.notebook.defs#readingProgress" },
28 "currentEntry": {
29 "type": "ref",
30 "ref": "sh.weaver.notebook.defs#entryView",
31 "description": "Where the user left off."
32 },
33 "nextEntry": {
34 "type": "ref",
35 "ref": "sh.weaver.notebook.defs#entryView",
36 "description": "The next entry to read (if any)."
37 },
38 "entriesRemaining": { "type": "integer" }
39 }
40 }
41 }
42 }
43 }
44 }
45 }
46 }
47}