/admin/catalog/imprints/{id}/seriesPuts the imprint on up to 500 series of its publisher, all or nothing. Each series is edited as in the catalog editor: checked (the imprint must belong to its publisher), locked against imports and audited. Series that already carry it are counted, not changed. With ?dryRun=true it answers what it would do (the database runs it and rolls it back) and changes nothing.
collector.setAdminImprintSeries()admin:catalog:writeIdempotency-KeyX-Request-Ididstring (uuid)requireddryRunenumtrue: answer what the change would do, and change nothing.
truefalseobject
seriesIdsarray of string (uuid)required1–500 items
notestringat most 1000 characters
200OKWhat was set, or would be.
An imprint put on series of its publisher, or (with ?dryRun=true) what that would do.
dryRunbooleanrequiredA dry run: nothing was changed.
imprintIdstring (uuid)requiredsetnumberrequiredSeries that carry the imprint now (or would).
alreadynumberrequiredSeries that already carried it.
changedarray of objectrequiredEach series set, with the imprint it had.
idstring (uuid)requiredfromstring or nullrequiredThe imprint it had before; null: none.
invalid_requestinvalid_jsoninvalid_idempotency_keyidempotency_key_required
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
idempotency_key_required: An admin write made with an API key came without the header that makes it safe to retry (dry runs don’t need it).
not_found: Not an admin (moderator): the same 404 as a missing route.
idempotency_in_progressimprint_not_foundnot_an_imprintseries_not_foundinvalid_imprint
idempotency_in_progress: The first request with this key is still running.
imprint_not_found: No such imprint, or it was merged into another publisher.
not_an_imprint: That publisher is top-level, not an imprint.
series_not_found: A series doesn’t exist or was merged.
invalid_imprint: A series belongs to another publisher (the imprint must be its publisher’s).
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
idempotency_key_reused: This key was used for a different request.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).