ink.resenha.shop.setRequest

Requires the caller's service token. Turning a request off works while the Shop is paused.

Repository @resenha.ink did:plc:v7itjf4h3sb5zuegiiskctqb not from the namespace authority
Details · procedure
Kindprocedure
Authorityshop.resenha.ink
Commit rev3n25adnkgs72b
Indexed

Procedure

procedure · POST

Input

application/json

book

requiredstring

The book page's key: its BookHive ID. Stand-in keys (popfeed-, isbn-, resenha-) are refused, and a shop- page always has the book.

  • maxLength: 128

format

requiredstring
  • knownValues: ebook | audiobook

on

requiredboolean

Output

application/json

on

requiredboolean

Errors

ShopOff

The Shop is paused; no new requests.

RequestCap

The account has made 30 requests today (UTC).

Available

The Shop already has the book in that format.

Similar lexicons

semantic match

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