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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | shop.resenha.ink |
| Commit rev | 3n25adnswpv24 |
| Indexed |
Procedure
procedure · POSTInput
application/jsonmaxLength: 128
Output
application/jsonCIDv1 (raw, sha2-256, base32) of the file's bytes.
maxLength: 128
maxLength: 256
maxLength: 128
minimum: 0
knownValues: se | pg
Pre-signed; good for 15 minutes.
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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
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.