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": {
12 "type": "integer",
13 "default": 10,
14 "minimum": 1,
15 "maximum": 20
16 }
17 }
18 },
19 "output": {
20 "encoding": "application/json",
21 "schema": {
22 "type": "object",
23 "required": [
24 "items"
25 ],
26 "properties": {
27 "items": {
28 "type": "array",
29 "items": {
30 "type": "object",
31 "required": [
32 "notebook",
33 "progress",
34 "nextEntry"
35 ],
36 "properties": {
37 "currentEntry": {
38 "type": "ref",
39 "description": "Where the user left off.",
40 "ref": "sh.weaver.notebook.defs#entryView"
41 },
42 "entriesRemaining": {
43 "type": "integer"
44 },
45 "nextEntry": {
46 "type": "ref",
47 "description": "The next entry to read (if any).",
48 "ref": "sh.weaver.notebook.defs#entryView"
49 },
50 "notebook": {
51 "type": "ref",
52 "ref": "sh.weaver.notebook.defs#notebookView"
53 },
54 "progress": {
55 "type": "ref",
56 "ref": "sh.weaver.notebook.defs#readingProgress"
57 }
58 }
59 }
60 }
61 }
62 }
63 }
64 }
65 }
66}