ink.resenha.book.getBook
A book's page from Resenha's index: an edition's readers with their readings, everyone's reviews of it, and its other editions with theirs. By BookHive ID or ISBN-13, so a book BookHive's catalogue doesn't know has one page shared by its readers. Readers the caller blocks are left out. Requires the caller's service token.
Details · query
| Kind | query |
|---|---|
| Authority | book.resenha.ink |
| Commit rev | 3n25adii67z2v |
| Indexed |
Showing version bafyreici7my5szqdhlyc44qowlr7qzfunvmgwx74r43yi5ybv4z6xm6zdy. Show the latest
Query
query · GETParameters
query stringhiveId
stringThe book's BookHive ID, or a Shop book's shop-<edition> key, whose page gathers the readers of every edition of its Shop work. Not a stand-in beginning popfeed-, isbn- or resenha-, which names one reader's copy.
maxLength: 128
isbn13
stringThe edition's ISBN-13, for a book without a BookHive ID.
maxLength: 13
Output
application/jsonOther editions of the book, surest first.
profiles
arrayUp to a hundred: the caller's follows first, then by the latest change.
Every review of this edition the index holds, newest first, each with the whole text and where its likes and comments live (popfeedReview or post) and how many.
#counts
objectProperties
minimum: 0
minimum: 0
minimum: 0
minimum: 0
#edition
objectOne edition as the index knows it: BookHive's facts when it has the book, else what its readers' records say.
Properties
authors
stringTab-separated, as BookHive stores them.
maxLength: 1024
cover
string · uricovers
arraymaxLength: 8
genres
arraymaxLength: 32
maxLength: 64
hiveId
stringmaxLength: 128
isbn13
stringmaxLength: 13
isbns
arrayEvery ISBN-13 known for the edition, when there is more than one.
maxLength: 16
maxLength: 13
language
stringmaxLength: 64
pages
integerminimum: 1
publisher
stringmaxLength: 256
title
stringmaxLength: 512
year
integer#otherEdition
objectProperties
sure: tied by BookHive's catalogue, a reader's link or Open Library's work. likely: the same title and first author after normalising, which a reader can confirm.
knownValues: sure | likely
minimum: 0
sources
arrayknownValues: catalogue | bookhive | reader | match | openlibrary | title
#reading
objectOne reader's record for the edition, with Resenha's likes and comments on it.
Properties
cid
string · cidcommentCount
integerminimum: 0
finishedAt
string · datetimehasReview
booleanlikeCount
integerminimum: 0
progress
refknownValues: bookhive | popfeed
stars
integerminimum: 1maximum: 10
startedAt
string · datetimestatus
stringknownValues: wantToRead | reading | read | abandoned
The reader's BookHive book record or Popfeed list item.
viewer
ref#shop
objectWhether Resenha's Shop has the book, per format: has, sureNot (Notify me is offered) or notSure (nothing is offered).
Properties
knownValues: has | sureNot | notSure
knownValues: has | sureNot | notSure
match
stringtitle when the answer came from the title and author alone: the app asks "Is this the same book?" before Get.
knownValues: id | title
The Shop is paused: Get and new requests are refused.
requested
arrayThe formats the caller asked to be told about.
knownValues: ebook | audiobook
work
stringThe Shop work, when a format is has.
maxLength: 128
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
buzz.bookhive.getBook
queryGet a book's info. Does not require authentication.
-
Every key Resenha's index knows for a book, and its other editions, from one key: a BookHive ID, an ISBN-13, an Amazon number or an Open Library work. Learned from BookHive's catalogue, readers' own links between their records in different apps, and Open Library. Public, no sign-in: any book app can fill the slots its records leave empty, such as Popfeed's hiveId or BookHive's ISBN. Answers come from the index alone; nothing is asked of any catalogue for them.
-
Views shared by the calls Resenha's server answers.
-
Get full details about a specific book.
-
A work's page in the Shop: its eBook editions (Standard Ebooks' first) with every copied version's fingerprint, its LibriVox recordings with their sections, and the catalogue book it maps to, for linking a taken eBook to the reader's library. Public, no sign-in; answers may be cached for five minutes; limited per address.