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.

Repository @resenha.ink did:plc:v7itjf4h3sb5zuegiiskctqb not from the namespace authority
Details · query
Kindquery
Authoritybook.resenha.ink
Commit rev3n25adii67z2v
Indexed

Query

query · GET

Parameters

query string

hiveId

string

The 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

string

The edition's ISBN-13, for a book without a BookHive ID.

  • maxLength: 13

Output

application/json

book

requiredref
Reference

counts

requiredref
Reference

editions

requiredarray

Other editions of the book, surest first.

itemsref
Reference
itemsref

readings

requiredarray

Up to a hundred: the caller's follows first, then by the latest change.

itemsref
Reference

reviews

requiredarray

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.

itemsref

shop

ref
Reference

#counts

object

Properties

abandoned

requiredinteger
  • minimum: 0

read

requiredinteger
  • minimum: 0

reading

requiredinteger
  • minimum: 0

wantToRead

requiredinteger
  • minimum: 0

#edition

object

One edition as the index knows it: BookHive's facts when it has the book, else what its readers' records say.

Properties

authors

string

Tab-separated, as BookHive stores them.

  • maxLength: 1024

cover

string · uri

covers

array
  • maxLength: 8
itemsstring · uri

genres

array
  • maxLength: 32
itemsstring
  • maxLength: 64

hiveId

string
  • maxLength: 128

isbn13

string
  • maxLength: 13

isbns

array

Every ISBN-13 known for the edition, when there is more than one.

  • maxLength: 16
itemsstring
  • maxLength: 13

language

string
  • maxLength: 64

pages

integer
  • minimum: 1

publisher

string
  • maxLength: 256

title

string
  • maxLength: 512

year

integer

#otherEdition

object

Properties

book

requiredref
Reference

confidence

requiredstring

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

readers

requiredinteger
  • minimum: 0

reviews

requiredarray
itemsref

sources

array
itemsstring
  • knownValues: catalogue | bookhive | reader | match | openlibrary | title

#reading

object

One reader's record for the edition, with Resenha's likes and comments on it.

Properties

actor

requiredstring · did

cid

string · cid
  • minimum: 0

finishedAt

string · datetime

hasReview

boolean

likeCount

integer
  • minimum: 0

source

requiredstring
  • knownValues: bookhive | popfeed

stars

integer
  • minimum: 1
  • maximum: 10

startedAt

string · datetime

status

string
  • knownValues: wantToRead | reading | read | abandoned

uri

requiredstring · at-uri

The reader's BookHive book record or Popfeed list item.

#shop

object

Whether Resenha's Shop has the book, per format: has, sureNot (Notify me is offered) or notSure (nothing is offered).

Properties

audiobook

requiredstring
  • knownValues: has | sureNot | notSure

eBook

requiredstring
  • knownValues: has | sureNot | notSure

match

string

title when the answer came from the title and author alone: the app asks "Is this the same book?" before Get.

  • knownValues: id | title

paused

requiredboolean

The Shop is paused: Get and new requests are refused.

The formats the caller asked to be told about.

itemsstring
  • knownValues: ebook | audiobook

work

string

The Shop work, when a format is has.

  • maxLength: 128

Similar lexicons

semantic match

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

  • Get a book's info. Does not require authentication.

  • ink.resenha.book.resolve

    query not from the namespace authority

    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.

  • ink.resenha.shop.getWork

    query not from the namespace authority

    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.