full diff

net.olamaelcu.livtet.biblio.getBookNotes

From
bafyreifrse3wj427ahpyhic67c4iux5j6hqzqlmvbslwz2edkr2tlnwvxa indexed 2026-11-26 06:11 UTC View this version
To
bafyreigdfv6gthaomxhd2he6gg6buqzquv6ytr6uttugg35nplyv63exfy indexed 2026-11-26 15:10 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags" }
  • AddedVertex AddedVertex { vertex_id: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags:items" }
  • AddedEdge AddedEdge { src: "net.olamaelcu.livtet.biblio.getBookNotes#note", tgt: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags", kind: "prop", name: Some("tags") }
  • AddedEdge AddedEdge { src: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags", tgt: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags:items", kind: "items", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags" }
  • AddedVertex { vertex_id: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags:items" }

Notes

  • Non-breaking: AddedEdge { src: "net.olamaelcu.livtet.biblio.getBookNotes#note", tgt: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags", kind: "prop", name: Some("tags") }
  • Non-breaking: AddedEdge { src: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags", tgt: "net.olamaelcu.livtet.biblio.getBookNotes#note.tags:items", kind: "items", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "output": {
66 "encoding": "application/json",
77 "schema": {
88 "properties": {
99 "cursor": {
1010 "description": "Opaque pagination cursor; absent when no further notes are known.",
1111 "type": "string"
1212 },
1313 "notes": {
1414 "items": {
1515 "ref": "#note",
1616 "type": "ref"
1717 },
1818 "type": "array"
1919 }
2020 },
2121 "required": [
2222 "notes"
2323 ],
2424 "type": "object"
2525 }
2626 },
2727 "parameters": {
2828 "properties": {
2929 "book": {
3030 "description": "AT-URI of the catalog edition whose notes to list.",
3131 "format": "at-uri",
3232 "type": "string"
3333 },
3434 "cursor": {
3535 "description": "Opaque pagination cursor.",
3636 "type": "string"
3737 },
3838 "following": {
3939 "default": false,
4040 "description": "When true, only notes by accounts `viewer` follows are returned. With no `viewer` the answer is an empty page: a follow graph cannot be evaluated for nobody.",
4141 "type": "boolean"
4242 },
4343 "limit": {
4444 "default": 25,
4545 "description": "Maximum number of notes to return.",
4646 "maximum": 100,
4747 "minimum": 1,
4848 "type": "integer"
4949 },
50 "tag": {
51 "description": "Filter to notes carrying this exact tag. Tags are free-form, so the match is verbatim: `Travel` and `travel` are different labels. Absent or empty lists every note, tagged or not.",
52 "maxGraphemes": 64,
53 "type": "string"
54 },
5055 "viewer": {
5156 "description": "The account whose follow graph `following` filters against. Ignored when `following` is false or absent.",
5257 "format": "did",
5358 "type": "string"
5459 }
5560 },
5661 "required": [
5762 "book"
5863 ],
5964 "type": "params"
6065 },
6166 "type": "query"
6267 },
6368 "note": {
64 "description": "One published note. `text` is the note's body and is always present; the quotation, anchor and colour are the annotation's own optional fields and are dropped when the record left them out.",
69 "description": "One published note. `text` is the note's body and is always present; the quotation, anchor, colour and tags are the annotation's own optional fields and are dropped when the record left them out.",
6570 "properties": {
6671 "color": {
6772 "description": "The highlight colour the reader chose, as their app spells it.",
6873 "type": "string"
6974 },
7075 "createdAt": {
7176 "description": "When the note's record was first published.",
7277 "format": "datetime",
7378 "type": "string"
7479 },
7580 "did": {
7681 "description": "The reader whose repo holds the note.",
7782 "format": "did",
7883 "type": "string"
7984 },
8085 "displayName": {
8186 "description": "The name on the reader's own Livtet profile record. Absent when no profile has been indexed.",
8287 "type": "string"
8388 },
8489 "handle": {
8590 "description": "The reader's current handle, from the deployment's public handle view. Absent when the index has not seen the account's handle.",
8691 "format": "handle",
8792 "type": "string"
8893 },
8994 "kind": {
9095 "description": "`note` when the annotation carries words; `highlight` when it marks a passage with no words yet.",
9196 "knownValues": [
9297 "note",
9398 "highlight"
9499 ],
95100 "type": "string"
96101 },
97102 "locator": {
98103 "description": "The reader's own anchor: a page, a clock time, a chapter, a CFI. Formats differ between readers, so a consumer may not be able to open it locally.",
99104 "type": "string"
100105 },
101106 "pageNumber": {
102107 "description": "The printed page the note was taken on, when the reader's format has one.",
103108 "minimum": 1,
104109 "type": "integer"
105110 },
106111 "quote": {
107112 "description": "The passage the note was taken on.",
108113 "type": "string"
109114 },
115 "tags": {
116 "description": "The labels the reader put on this note, in their own spelling. Absent when the record carried none.",
117 "items": {
118 "maxGraphemes": 64,
119 "minLength": 1,
120 "type": "string"
121 },
122 "maxLength": 20,
123 "type": "array"
124 },
110125 "text": {
111126 "description": "The note's body. Empty on a highlight, whose `quote` names the passage it marks.",
112127 "type": "string"
113128 },
114129 "uri": {
115130 "description": "AT-URI of the `readingProgress` record the note lives in; a share link and a reports queue both name it.",
116131 "format": "at-uri",
117132 "type": "string"
118133 }
119134 },
120135 "required": [
121136 "uri",
122137 "did",
123138 "text",
124139 "createdAt"
125140 ],
126141 "type": "object"
127142 }
128143 },
129 "description": "List the notes readers published on one catalog edition, newest first. A note is a `readingProgress` record whose `annotation.text` is non-empty; an annotation that marks a passage with no words yet (a highlight) is listed too, with an empty `text` and `kind` `highlight`. A position record carries no note, and a blank annotation with no passage marks nothing, so neither is listed. With `following` set and a `viewer` supplied, only notes by accounts the viewer follows are returned.",
144 "description": "List the notes readers published on one catalog edition, newest first. A note is a `readingProgress` record whose `annotation.text` is non-empty; an annotation that marks a passage with no words yet (a highlight) is listed too, with an empty `text` and `kind` `highlight`. A position record carries no note, and a blank annotation with no passage marks nothing, so neither is listed. With `following` set and a `viewer` supplied, only notes by accounts the viewer follows are returned. With `tag` set, only notes carrying that exact label are returned.",
130145 "id": "net.olamaelcu.livtet.biblio.getBookNotes",
131146 "lexicon": 1
132147}

Compare other versions