net.olamaelcu.livtet.biblio.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 | biblio.livtet.olamaelcu.net |
| Commit rev | 3n2yrr5plvclv |
| Indexed |
Showing version bafyreibvbzvak4clyqisbmb3dl7jw3zdrzmxm4ksctil5trurwcox3mxyu. Show the latest
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.