ink.resenha.shop.take

Requires the caller's service token. The first take of a version may take up to a minute while the server copies it from its source.

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

Procedure

procedure · POST

Input

application/json

edition

requiredstring
  • maxLength: 128

Output

application/json

contentCID

requiredstring

CIDv1 (raw, sha2-256, base32) of the file's bytes.

  • maxLength: 128

expiresAt

requiredstring · datetime

filename

requiredstring
  • maxLength: 256

id

requiredstring
  • maxLength: 128

size

requiredinteger
  • minimum: 0

source

requiredstring
  • knownValues: se | pg

url

requiredstring · uri

Pre-signed; good for 15 minutes.

version

requiredstring
  • maxLength: 64

Errors

ShopOff

The Shop is paused.

DailyCap

The account has taken 20 books today (UTC).

SourceBusy

The Shop has copied all it may from its sources today.

SourceFailed

The source refused or the file didn't arrive.

NotFound

No such edition, or it is hidden.

Similar lexicons

semantic match

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

  • ink.resenha.shop.sample

    procedure not from the namespace authority

    Sample: a short-lived address for an edition's current file, the same one shop.take hands out, which the app downloads to a temporary file, checks against contentCID, opens at its first pages and discards. Nothing is added to the account. The server counts samples per account without the book, apart from takes, and counts no edition.