com.livtet.ensureEdition
Publish the edition records a reader is about to reference, and return the uri+cid a shelf record's strongRef needs. The AppView calls this when a reader acts — shelves a book, marks a status — never on a page render: a crawl must not republish the catalogue, and a strongRef cannot be written before the record exists. The caller authenticates with an atproto service token minted by its own PDS, so the request proves an intent rather than a page view.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | livtet.com |
| Commit rev | 3n3l6fwx6izj7 |
| Indexed |
Procedure
procedure · POSTInput
application/jsonidentifiers
arrayEdition identifiers as search returns them. At most 100 entries across identifiers and uris.
maxLength: 100
uris
arrayEdition uris as resolveEditions returns them (the `atproto` identifier), when the caller already has them.
maxLength: 100
waitMs
integerHow long the AppView may wait for a record to be written before the uri is reported as pending. Defaults to 2000; capped at 5000.
minimum: 0maximum: 5000
Output
application/jsonErrors
AuthRequired
The service token was missing or rejected.
InvalidRequest
The body named no identifier or uri, or too many.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Publish the edition records a reader is about to reference, and return the uri+cid a shelf record's strongRef needs. The AppView calls this when a reader acts — shelves a book, marks a status — never on a page render: a crawl must not republish the catalogue, and a strongRef cannot be written before the record exists. The caller authenticates with an atproto service token minted by its own PDS, so the request proves an intent rather than a page view.