/admin/editions/{id}/undoWithin 7 days the edition waits in the queue again. An approval: it’s provisional again, while it’s still verified and live. A rejection: its merge is undone (refused when a later merge used it, or copies were added to what it moved). Audited. With ?dryRun=true it answers what it would do (the database runs it and rolls it back) and changes nothing.
collector.undoAdminEditionReview()admin:moderation:writeIdempotency-KeyX-Request-Ididstring (uuid)requireddryRunenumtrue: answer what the change would do, and change nothing.
truefalseobject
notestringat most 1000 characters
200OKWhat the undo did, or would do.
dryRunbooleanrequiredA dry run: nothing was changed.
decisionenumrequiredThe review taken back.
approvedrejectededitionIdstring (uuid)requiredappliednumberrequiredA rejection: the merge’s changes put back.
skippednumberrequiredA rejection: changes skipped because the data changed since.
The item, pending again; null on a dry run.
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_progressnot_reviewedundo_window_closedundo_blockedundo_conflict
idempotency_in_progress: The first request with this key is still running.
not_reviewed: It hasn’t been reviewed: nothing to undo.
undo_window_closed: Reviews can be undone for 7 days.
undo_blocked: The record changed (or was merged) since the review: change it in the catalog editor instead.
undo_conflict: Putting it back would clash with another record.
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).
not_migrated: The tool needs a database update that hasn’t been applied yet.