net.olamaelcu.livtet.biblio.listBookHighlights

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.

Details · query
Kindquery
Authoritybiblio.livtet.olamaelcu.net
Commit rev3n36oztd5etgd
Indexed

Query

query · GET

Parameters

query string

book

requiredstring · at-uri

AT-URI of the catalog edition whose highlighted passages to rank.

limit

integer

Maximum number of passages to return, most-highlighted first.

  • minimum: 1
  • maximum: 25
  • default: 5

Output

application/json

passages

requiredarray
itemsref
Reference

#passage

object

One passage, as the most recent reader to highlight it wrote it.

Properties

createdAt

requiredstring · datetime

When that newest record was first published.

locator

string

That record's anchor, when it has one. A locator from another reader's format may not resolve in a local copy of the edition.

quote

requiredstring

The passage, on the scale of the newest record that quotes it.

readers

requiredinteger

How many distinct readers highlighted this passage.

  • minimum: 2

uri

requiredstring · at-uri

AT-URI of the newest `readingProgress` record quoting the passage.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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.

  • 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

  • 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