ink.resenha.shop.sample

Requires the caller's service token. The first sample or 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 rev3n25admy2zu2s
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 opened 30 samples today (UTC). Takes have their own cap.

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

    procedure not from the namespace authority

    Get: a short-lived address for an edition's current file, which the app downloads, checks against contentCID and saves as an uploaded eBook. The server counts takes per edition without the account, and per account without the book.