net.olamaelcu.livtet.biblio.getBookNotes
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.
Details · query
| Kind | query |
|---|---|
| Authority | biblio.livtet.olamaelcu.net |
| Commit rev | 3n36zc76a7hid |
| Indexed |
Showing version bafyreifrse3wj427ahpyhic67c4iux5j6hqzqlmvbslwz2edkr2tlnwvxa. Show the latest
Query
query · GETParameters
query stringAT-URI of the catalog edition whose notes to list.
cursor
stringOpaque pagination cursor.
following
booleanWhen 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.
default: false
limit
integerMaximum number of notes to return.
minimum: 1maximum: 100default: 25
viewer
string · didThe account whose follow graph `following` filters against. Ignored when `following` is false or absent.
#note
objectOne 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.
Properties
color
stringThe highlight colour the reader chose, as their app spells it.
When the note's record was first published.
The reader whose repo holds the note.
displayName
stringThe name on the reader's own Livtet profile record. Absent when no profile has been indexed.
handle
string · handleThe reader's current handle, from the deployment's public handle view. Absent when the index has not seen the account's handle.
kind
string`note` when the annotation carries words; `highlight` when it marks a passage with no words yet.
knownValues: note | highlight
locator
stringThe 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.
pageNumber
integerThe printed page the note was taken on, when the reader's format has one.
minimum: 1
quote
stringThe passage the note was taken on.
The note's body. Empty on a highlight, whose `quote` names the passage it marks.
AT-URI of the `readingProgress` record the note lives in; a share link and a reports queue both name it.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.livtet.getBookNotes
queryList 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
-
The passages most readers highlighted in one catalog edition, ranked by how many distinct readers quoted them. A passage is a `readingProgress` record's `annotation.quote`, normalised (whitespace collapsed, case folded) before it is counted, so two readers who highlighted the same sentence with different spacing and capitalisation land on one entry. A passage needs at least two distinct readers and at least 16 characters of text; nothing else decides membership.
-
The passages most readers highlighted in one catalog edition, ranked by how many distinct readers quoted them. A passage is a `readingProgress` record's `annotation.quote`, normalised (whitespace collapsed, case folded) before it is counted, so two readers who highlighted the same sentence with different spacing and capitalisation land on one entry. A passage needs at least two distinct readers and at least 16 characters of text; nothing else decides membership.
-
A reader's relation to one catalog edition, published from the copy they are holding. Two shapes share this collection: a position record (one per edition and format, its rkey the edition's rkey and the format's slug, rewritten as the reader moves) and an annotation record (one per note, under a TID, rewritten when the note is edited). `createdAt` is when the record was first published — the position's first save, the note's own creation — and `updatedAt` when it last changed. Written by Livtet
-
com.livtet.readingProgress
recordA reader's relation to one catalog edition, published from the copy they are holding. Two shapes share this collection: a position record (one per edition and format, its rkey the edition's rkey and the format's slug, rewritten as the reader moves) and an annotation record (one per note, under a TID, rewritten when the note is edited). `createdAt` is when the record was first published — the position's first save, the note's own creation — and `updatedAt` when it last changed. Written by Livtet