Changelog
What changed in the API, newest first. Deprecations are announced here before a route is retired.
Printed cover numbers and publishers’ own issue numbers
- Some publishers number their covers instead of lettering them: every Dream Killahs back cover prints a cover number, which its foil, metal, prism and virgin finishes share. An edition from
GET /catalog/editionshascoverNumber(“22”), null for every cover that isn’t numbered; itscoverVariantthen starts with the number and names the finish (“22 foil”). The editions inGET /catalog/issues/{id}have it ascover_number. Additive. GET /catalog/issues/{id}answersprintedNumbers: the issue’s numbers in its publisher’s own count, as printed (Dream Killahs #1 reads “EXTENDED PARAS 01”), with who reports them and a confidence. Empty for most issues. Additive.GET /catalog/searchreads “cover 22” as a printed cover number (query.coverNumber) and answers the variant when the issue has only one such cover, and finds an issue by a printed count number (“extended paras 01”). A variant suggestion (POST /catalog/variant-proposals) takesvariant.coverNumber; on an issue whose covers are numbered, one the catalog already lists is refused with409 variant_listed, naming it.- All of this is Paras Entertainment’s only, the one publisher known to print these numbers: every other publisher’s editions have
coverNumbernull and issues an emptyprintedNumbers, search answers them exactly as before (query.coverNumberis reported only), and avariant.coverNumberon their issues is refused with400 cover_number_not_printed.
- Some publishers number their covers instead of lettering them: every Dream Killahs back cover prints a cover number, which its foil, metal, prism and virgin finishes share. An edition from
The collectors directory
GET /public/collectorslists the collectors who made their collection public and left it listed, 24 at a time: name, photo, bio, how many comics, series and keys they have, and the covers of their newest comics. Nothing their public profile hides (values, prices, notes, storage locations, the wishlist) is ever in it. Search withq, sort withsort(recent,largestornewest), and passnextasafterfor the following page. Withissue(a catalog issue id), only collectors who own that issue. New.GET /public/profiles/{username}answersprofile.listed: false when the collector keeps their public profile out of the directory (it stays public to anyone with the link, and asks search engines not to index it).GETandPATCH /me/profilehave the setting asshow_in_directory, on by default. Additive.
Suggest an edition or reprint link
POST /catalog/corrections/linkssuggests that a series is an edition of another (edition_of: published again in another language or country, or by another publisher) or that an issue reprints another (reprints).idis the edition or the reprint,relatedIdthe original. It joins your corrections and their limits: a moderator approves it, which links the two on both pages, or declines it, and you’re notified either way. Withdraw it withPOST /catalog/corrections/{id}/withdraw. A record linked to itself, one merged into another, a pair already linked and a pair already suggested (either way round) are refused. New.- Admin API (beta): a correction from
GET /admin/moderationcan haveentityseries_linkorissue_link, withlinknaming both records and whether they’re linked already (linkis null for other corrections). Approving one links the two, attributed to the collector in the audit log; one already linked the same way is approved without a second link. Undoing the approval removes the link it made.
Reprints: which original issues an edition’s issue contains
GET /catalog/issues/{id}andGET /public/catalog/series/{slug}/{issue}answerreprints(the original issues an edition’s issue reprints: one for most, several for a collected book) andreprintedIn(the issues that reprint it, in other languages or countries). Each names the issue, its page and its series’ publisher, language and country. Both are empty for most issues. Additive.- Admin API (beta):
GETandPOST /admin/catalog/issues/{id}/linksandDELETE /admin/catalog/issues/{id}/links/{linkId}list, add and remove an issue’s reprint links, audited. The list’ssuggestionsoffer the same-numbered issue of the series its series is an edition of, for an admin to confirm. They answer503 not_migrateduntil the server’s database has the links.
Admin API: key notes suggested from a grader’s record
- Corrections from
GET /admin/moderationcarrycertRecords. A correction withsourcecert_checksuggests key notes from the key comments on a grader’s record of a slab verified as that issue: it has nosubmitter, andcertRecordslists each record’s grader, cert number, page and suggested comments. It is reviewed like any correction; for every other correction the list is empty.
- Corrections from
Admin API: listings whose slab cert doesn’t match
- Reports from
GET /admin/reportscarrysource:collector, orcert_checkfor a store listing whose grader’s record names another book, grade or label. A check’s report has noreporter; itsnotesays what differs, andsnapshot.cert.differenceslists each fact with the grader’s and the listing’s value. It is decided like any report, and a later check that verifies the cert closes it as dismissed.
- Reports from
Admin API: a variant proposal whose barcode another variant has
POST /admin/variant-proposals/{id}(reviewAdminVariantProposal) refuses an approval that would give a barcode (UPC and 5-digit add-on) another live variant has with409 barcode_taken, naming that variant indetails.holder, before anything is stored. Sendbarcodewithmove(this variant takes it; the holder’s add-on is cleared, or set toholderAddon, and locked) oromit(approve without it), or decideuse_existingwitheditionId: declined, and the collector’s copies point at that variant.- Reviewed proposals answer what was chosen in
applied.barcode_conflict, andPOST /admin/variant-proposals/{id}/undotakes it back: the barcode returns to the variant that gave it up, and copies pointed at an existing variant wait on the proposal again. Both answer503 not_migrateduntil the server’s database has them; reviews without them are unchanged.
Which of these is yours?
GET /collection/items/{id}/variant-questions(new, beta) lists the variants of a copy’s issue that a provider lists and the catalog couldn’t place: a name like “Variant Cover” and two or more variants it could be, with the provider’s image beside them and your answer so far. Asked of copies you own.PUT /collection/items/{id}/variant-questions/{suggestionId}(new, beta) records your answer, the variant your copy is ornullfor none of them, with a photo of your copy if you add one. It goes to a moderator as evidence: nothing in the catalog or on your copy changes until one decides. Admin:GET /admin/variant-proposalsitems gainanswers.
Admin API: import suggestions waiting for a collector
- Pending import suggestions nobody can decide yet (a generic name like “Variant Cover”, two or more candidate variants, none with a cover of its own, and nobody owning a copy of the issue) wait for a collector.
GET /admin/variant-proposalsleaves them out of the page and ofcounts.pending, answerswaiting(how many wait), and lists them withwaiting=true(waiting=anylists them with the rest). Each item gainswaitingForCollector. A suggestion comes back by itself when someone adds a copy they own (not a wishlist entry), a candidate variant gains a cover, or a refresh changes the match; none is dismissed. GET /admin/overviewanswersmoderation.variantsWaiting, andvariantsPendingno longer counts them.
- Pending import suggestions nobody can decide yet (a generic name like “Variant Cover”, two or more candidate variants, none with a cover of its own, and nobody owning a copy of the issue) wait for a collector.
No daily cap on adding books to the catalog
POST /catalog/provisionaland an import’snotFound: add_to_catalogno longer stop at 30 new catalog records a day, on any plan. New records are still provisional and attributed to you until confirmed, and the API’s own rate limits still apply.
Numbered copies and limited variants
- A
CopygainsserialNumberandserialTotal: the number printed or stamped on a numbered copy, 70 and 100 of “70/100”, each null when not known. Set them withPOST /collection/items, the batch,PATCH /collection/items/{id}andPOST /wishlist/{id}/acquire; a number over its total is refused (422invalid_copyor a validation problem). - An
Edition(a variant) gainsprintRun: how many were printed, or the limit announced (limitedTo), with who says so (source,sourceUrl) and how sure that is (confidence: high, medium or low), or null when unknown. It is the catalog’s claim about the variant and never changes with a copy’s number: a copy can say 70/100 while its variant’s print run is unknown or different.
- A
The purchase a copy came from
- A
Copy(GET /collection/items,GET /collection/items/{id}and every answer that returns a copy) gainspurchaseLineId: the Whatnot purchase it was received from, theidcolumn ofpurchases.csvin your export, or null. It reads withcollection:read, like the copy’sacquiredFrom, and can’t be written through the API.
- A
Releases removed
- The deprecated
GET /catalog/releasesandGET /catalog/releases/{id}are removed. They always answered an empty list: the catalog never had a release, and an edition of a series is a series of its own (editionsandeditionOfonGET /catalog/series/{series}). Both paths now answer404, like any unknown route. - The fields that were always null or empty are removed with them:
releaseIdonEdition, Store API listings (InventoryEdition) and barcode matches (InventoryMatch);releaseonGET /catalog/editions/{id}and on a copy’s edition (CopyEditionRef);releaseLabelon scan candidates;release_idandreleasesonGET /catalog/issues/{id}; andreleaseIdandreleaseon variant proposals.filter[release]onGET /catalog/editionsis gone (400 invalid_filter). POST /catalog/variant-proposalsand the Admin API’sreviewAdminVariantProposalno longer answerreleases_retired: areleaseIdorreleasesent with them is ignored, like any unknown field. Webhooks’catalog.record.changedno longer listsissue_releaseas an entity.
- The deprecated
A long run in blocks of 50
- A series’ run is split into blocks of 50 issues instead of 100 (
1-50,51-100…), and a run of up to 60 issues is one block,all(it was up to 120). OnGET /public/catalog/series/{slug},?block=still takes a key from before (101-200) and answers the first block of 50 inside it; the answer’sblocksays which. The site’s old block pages (/catalog/series/{slug}/issues/101-200) redirect the same way (308).
- A series’ run is split into blocks of 50 issues instead of 100 (
Releases retired: editions are series
- Releases, which recorded another edition of each issue (ENGIN-41), are retired now that an edition is a series of its own (
editionsandeditionOfonGET /catalog/series/{series}).GET /catalog/releasesandGET /catalog/releases/{id}are deprecated (aDeprecationheader) and list none;releaseIdstays on editions, always null. POST /catalog/variant-proposalsrefusesreleaseIdandrelease(400 releases_retired); null or absent is fine. Admin API:reviewAdminVariantProposalrefusesreleasethe same way, a proposal that describes another edition can only be declined (409 releases_retired), andGET /admin/overview’scatalog.otherEditionscounts the series that are an edition of another series.
- Releases, which recorded another edition of each issue (ENGIN-41), are retired now that an edition is a series of its own (
Editions of a series
- An edition, as collectors say (a series published again in another language or country, or by another publisher: Editorial Panini México’s Spanish edition, say), is a series of its own in the catalog, linked to the series it was published from.
GET /catalog/series/{series}answerseditions(the series that are editions of it) andeditionOf(the series it is an edition of), each aSeriesEditionRefwith its publisher, language and country.GET /public/catalog/series/{slug}answers the same two lists, and the series’languageandcountry. All additive; empty for most series. See Editions and variants. - Admin API:
GETandPOST /admin/catalog/series/{id}/linkslist a series’ edition links both ways and link it as an edition of another series, with a note;DELETE /admin/catalog/series/{id}/links/{linkId}removes one (admin:catalog:readandadmin:catalog:write). Audited; a series merge moves its links to the kept series. They answer503 not_migrateduntil the server’s database has them.
- An edition, as collectors say (a series published again in another language or country, or by another publisher: Editorial Panini México’s Spanish edition, say), is a series of its own in the catalog, linked to the series it was published from.
Editions, variants and releases, in so many words; variant counts in the admin overview
- An edition in this API (
/catalog/editions,editionId) is a variant of an issue, as collectors say: its standard version (isPrimary) or a variant cover, printing, newsstand or direct version. What collectors call another edition, the issue published again by another publisher or in another language or country, is a release (/catalog/releases). The descriptions say so now; routes, operation ids and fields keep their names. See Editions, variants and releases. GET /admin/overviewanswerscatalog.variants(live editions that aren’t an issue’s standard version) andcatalog.otherEditions(releases), both exact counts (additive).catalog.editionsstays: every live edition, each issue’s standard version plus its variants. The console shows Variants and Other editions in its place.- The console’s moderation queues are named for what they hold: Variant suggestions (
/admin/variant-proposals) and Added variants (/admin/editions, the editions queue). Scope descriptions say the same.
- An edition in this API (
Imports: review before importing, commit and cancel
POST /collection/importstakesreview: true: the import is matched and then waits in a newreviewstatus instead of adding copies. Read its rows, then import it withPOST /collection/imports/{id}/commitand your choices: rows to leave out (exclude), rows to import as another of the issues they could be (issueId, the match or one of itsalternatives), and what to do with rows that need review. An import nobody commits is cancelled after 7 days (reviewUntil). The import screen in the apps now works this way.POST /collection/imports/{id}/cancelcancels an import that hasn’t started adding copies, or stops one that has after the rows it’s writing (the rest are skipped, and what it added can be undone).cancelledis a new final status.- Rows answer
editionName,coverUrl(signed),candidate(a book only Metron has, which the apps’ imports bring into the catalog) andcanAddToCatalog; jobs answercommittedAt,reviewUntil, andoptions.reviewandoptions.notFound. Committing withnotFound: "add_to_catalog"adds the books the catalog doesn’t have as new issues; API keys can’t yet (403 key_not_allowed), and their imports look in the catalog only. - An import takes up to 25,000 rows (was 10,000), and a large one can be sent gzip-compressed (
Content-Encoding: gzip, up to 32 MiB inflated). It also takesfileHash, the original file’s hash when you send rows read from it. Polling an import that paused carries it on. Nothing changes for imports sent withoutreview; the new statuses only appear on imports sent with it or cancelled. Reviews answer503 not_migrateduntil the server’s database has them.
Admin API: undo for cover photos and collectors’ variant proposals
POST /admin/cover-contributions/{id}/undo(undoAdminCoverContribution) takes a cover photo’s review back within 7 days, as the code and correction undos do. An approval’s cover and its provenance go back to what they replaced while the issue or variant still shows the photo (409 undo_blockedonce it was replaced, locked or merged). The stored renditions are kept, and the photo answers them asimageUrlwithphotoStored: true; approving it again uses them. A decline is taken back while the photo is still there (409 undo_unsupportedotherwise).POST /admin/variant-proposals/{id}/undo(undoAdminVariantSuggestion) also takes a collector’s proposal’s review back within 7 days. A new variant’s edition is removed and the collector’s copies wait on the proposal again; it’s refused once anything else uses the edition. A correction’s values, the overrides it replaced and its cover are put back while the variant still has what it wrote. A decline reopens the proposal.- Cover photos and variant proposals answer
undoUntil,canUndoandphotoStored(additive). The undo answers503 not_migratedfor them until the server’s database has it.
Admin API: approve an import suggestion into its only candidate, and filter the Variants queue
resolveAdminVariantSuggestionand thesuggestionsdecisions ofPOST /admin/moderation/jobstake{ decision: "only_candidate" }: the suggestion goes on its one candidate edition, asassignwould place it, without naming the edition. It’s refused withseveral_candidates,candidate_goneorcandidate_taken(another of the provider’s variants is on that edition) when there’s a choice to make; in a job that item is counted and explained, and the job goes on.GET /admin/variant-proposalstakescandidates(import suggestions with that many candidate editions),generic(names that say nothing about the art, or named ones),seriesandpublisher, and answersmatching(how many match in all) andfacets(how many each publisher and series has under the other filters). Filters answer503 not_migrateduntil the server’s database has them; without filters the list is as before.
Catalog lists answer as fast on the last page as on the first
- Every page of
GET /catalog/issues,/editions,/series,/publishers,/imprints,/releases,/creatorsand/charactersnow reads only its own rows, however deep the cursor, in either direction, and for sorts whose field can be empty (an issue’s number or dates, a series’ start year). Paging the whole catalog withlimit=200no longer slows down as it goes. Orders and cursors are unchanged: a cursor from before still works. GET /catalog/issues?filter[creator]=andfilter[character]=answer from the credits and appearances, so someone with few credits, or an id with none, no longer times out (a 500).
- Every page of
Admin API: import suggestions placed by elimination
- An import suggestion can now be placed automatically by elimination: every other variant of the issue’s Metron record matched an edition, and this one could only be the one edition left, which showed no cover of its own. In
listAdminVariantProposalssuch a suggestion isapprovedwithapplied: { assigned: true, by: "elimination" }and no reviewer, besideby: "cover_barcode".undoAdminVariantSuggestionundoes it, and it’s never placed that way again.
- An import suggestion can now be placed automatically by elimination: every other variant of the issue’s Metron record matched an edition, and this one could only be the one edition left, which showed no cover of its own. In
Admin API: moderation jobs resolve import suggestions
POST /admin/moderation/jobstakes the variants queue’s import suggestions as{ queue: "suggestions", id, review }, wherereviewis whatresolveAdminVariantSuggestiontakes: the edition it is, a new variant, or dismissed (no note needed). The job resolves each the same way, as the person who started it; one matched or added counts as approved, one dismissed as declined. An import suggestion sent asvariantsstill fails withimport_suggestion. Admin → Moderation’s Covers and Variants queues now decide several items at once through these jobs.
Admin API: a rejected edition names the edition it was merged into
- A reviewed item of
GET /admin/editions(and theitema review or an undo answers) hasreview.into: for a rejection, the id and label of the edition it was merged into, while that edition exists;nullotherwise. Admin → Moderation → Editions now works the queue in the console.
- A reviewed item of
Secrets shown once are no longer replayed
- Making or rotating an API key, and making a webhook or rotating its signing secret, still take an
Idempotency-Keyand still aren’t done twice, but the secret is no longer kept for a retry. A retry after the first request succeeded answers409 secret_already_issued(withIdempotent-Replayed: true) instead of the key or secret again. Itsissuedmember is what was made, without the secret: rotate it if you didn’t store the first answer. - The SDK retries these writes after a network failure with the same key, so a lost first answer now throws
CollectorApiErrorwith codesecret_already_issuedrather than returning the secret. Successful answers are unchanged.
- Making or rotating an API key, and making a webhook or rotating its signing secret, still take an
Admin API: lists of bulk jobs
GET /admin/catalog/jobs(admin:catalog:read) andGET /admin/moderation/jobs(admin:moderation:read) list bulk jobs newest first, in keyset pages, each asGET …/jobs/{id}answers it.filter[status]andfilter[kind]narrow them; a moderator’s key lists the jobs its owner started. Admin → Jobs shows the same lists, with progress, errors and Cancel.
OAuth: reviews, SDK helpers and a guide
POST /oauth/apps/{appId}/reviewasks an admin to approve your app’s write and store scopes, so collectors other than you can authorize them. Admins approve, reject (with a note) or suspend apps in Admin → OAuth apps (/admin/oauth-apps).- The SDK has OAuth helpers:
createPkce(),authorizeUrl(),parseCallback(),exchangeCode(),refreshTokens(),revokeToken(), andoauthSession(), which keeps tokens fresh for the client, one refresh at a time. The new OAuth guide walks through the flow.
Admin API: moderation jobs for cover photos and variants
POST /admin/moderation/jobstakes decisions in thecoversandvariantsqueues too, besidecorrectionsandcodes. Eachreviewis whatreviewAdminCoverContributionorreviewAdminVariantProposaltakes (an approved variant as sent, or asreview.variantedits it), and the job makes it the same way. Import suggestions keep their ownresolveroute: in a job they fail withimport_suggestion, and the job goes on.
OAuth 2.1: collectors can connect your app (beta)
- Send collectors to
https://collection.id/oauth/authorizewith your client id, a redirect URI, the scopes and a PKCE challenge (S256): they sign in, see what your app asks for, and allow it. The authorization code is exchanged atPOST /oauth/tokenfor an access token (an hour) and a refresh token that rotates on every use; a used refresh token sent again revokes everything from that authorization.POST /oauth/revokerevokes a token. - Access tokens (
cat_live_…) are checked against the same scopes as API keys: personal scopes, or one store’s. Never admin operations. A bad token answers401 invalid_token.GET /menames the app calling (oauthApp). Limits are per app and collector, and per app. - Collectors see and remove the apps they’ve allowed in Settings → Connected apps, also at
/oauth/grants. Write and store scopes work for an app’s developer alone until an admin approves them.
- Send collectors to
OAuth apps: register yours (beta)
- The first step of OAuth for third-party apps:
/oauth/appsregisters an app (its name, website, privacy policy, redirect URIs and the scopes it may ask for) and answers its client id, and a confidential app’s client secret once. Rotating the secret can keep the old one working for 24 hours. Settings → Your apps does the same. Collectors can’t authorize apps yet: the authorization flow comes next. - Redirect URIs match exactly, and must be https, or http on 127.0.0.1, [::1] or localhost for native apps. Apps can ask for personal and store scopes, never admin ones. Write and store scopes will work for the app’s developer alone until an admin approves them.
- The first step of OAuth for third-party apps:
Admin API: bulk work as jobs with progress
POST /admin/catalog/imprints/{id}/series/jobsputs an imprint on up to 10,000 series, andPOST /admin/moderation/jobsmakes up to 500 decisions in the corrections and codes queues, as jobs: each answers202at once withjob.href. Follow them withGET /admin/catalog/jobs/{id}andGET /admin/moderation/jobs/{id}(progress, what it did, why items failed), and stop them with…/cancel.
Admin API: dry runs for report decisions
POST /admin/reports/{id}takes?dryRun=true: the database makes the decision and rolls it back, so the answer’splan(the reports it closes, the content it hides, the store it suspends, the account it disables) is exactly what deciding does, and nothing changes. Disabling an account is checked but nobody is disabled.- Every decision now answers
dryRunandplanbesidereport.
Admin API: the editions queue for moderators
GET /admin/editionslists collectors’ provisional editions, newest first in keyset pages, each with the editions of its issue it may duplicate (matches);duplicates=truekeeps those with a match, andstatus=reviewedlists the reviews.POST /admin/editions/{id}approves one (it’s verified) or rejects it into the edition it duplicates (it’s merged, journaled like any merge), andPOST /admin/editions/{id}/undotakes that back within 7 days. Both take?dryRun=true, and both are open to moderators’ keys (admin:moderation:read/…:write).
Admin API: people’s emails need admin:users:pii
- A new admin scope,
admin:users:pii. Without it, an admin key’s answers carrynullfor people’s email addresses and sign-in times (and a support message’s sender name and browser). With it, every answer that carries them is audited (api_key.pii_read). Moderators’ keys never use it, and no preset includes it. Signed-in sessions are unchanged. - Finding people by email address (
GET /admin/users?q=,GET /admin/audit?actor=) needs the scope (403 insufficient_scope); without it the people search doesn’t match email addresses at all. - A support message’s
emailis now nullable in the document.
- A new admin scope,
Admin API: import jobs by id, cancelling, and admin:imports:read
GET /admin/imports/{id}follows one import job, andPOST /admin/imports/{id}/cancelcancels it: a queued job ends at once, a running Metron sync stops at its next progress write and keeps what it imported. Jobs that can’t stop part-way answer409 not_cancellable. Jobs now carrycancellable,cancelRequestedAtandcancelledBy.POST /admin/imports/syncanswers the job it runs under (job.id,job.href).- A new scope,
admin:imports:read, reads import jobs and their conflicts instead ofadmin:ops:read. Admin keys holdingadmin:ops:readwere given it, so nothing they read stops working.
Import suggestions edited first keep what you didn’t change
POST /admin/variant-proposals/{id}/resolvewithdecision: "create"and avariantlays the variant over the suggestion’s fields instead of replacing them: its format, distribution, language, country, SKU and anything else the variant doesn’t set stay as suggested. The newchangedlists which of the variant’s fields you changed, and only those replace the suggestion’s (one sent empty clears it); without it, every field sent counts as changed.
Pre-decimal prices in variant proposals
- A variant’s details, in
POST /catalog/variant-proposalsand the admin review and resolve routes, takecoverPriceAsPrinted: a pre-decimal price as printed (9d,1/-,2/6), in place ofcoverPriceCents, never beside it. ItscoverPriceCurrencyis a pound (GBPwhen not given).
- A variant’s details, in
Admin API: roles need a signed-in session
PATCH /admin/users/{id}grants or removes the admin and moderator roles only with a signed-in session: an API key asking to answers403 key_not_allowed. Keys can still disable and enable accounts. A leaked admin key can’t make an admin.- New SDK samples for scripting the catalog: setting up an imprint, settling import conflicts, and working the codes queue with a moderator’s key.
Admin API: imprints in bulk, undoing reviews, conflict dry runs
POST /admin/catalog/imprints/{id}/seriesputs an imprint on up to 500 series of its publisher, all or nothing, each edited, locked and audited as in the catalog editor. It takes?dryRun=true.POST /admin/moderation/{id}/undoandPOST /admin/code-proposals/{id}/undotake a review back within 7 days. An approval’s change is put back while the record still has what it wrote; otherwise409 undo_blocked.POST /admin/imports/conflicts/{id}takes?dryRun=true, and its answer carriesdryRun.
Admin API: dry runs, Idempotency-Key and moderator scopes
?dryRun=trueonPOST /admin/merges,POST /admin/catalog/movesand both undos: the database runs the change and rolls it back, so the answer is exactly what applying it would do, and nothing changes. Answers now carrydryRun; merges and moves also answer their plan (preview), and merges the count of their changes (summary). An admin write without a dry run refuses?dryRun=true(400 dry_run_unsupported) instead of running.- Admin keys must send an
Idempotency-Keyon every admin write (400 idempotency_key_requiredotherwise); every admin write now takes one. The SDK already sends one. The audit log records it with the key and its owner. - A new scope,
admin:moderation:read, lists the moderation queues; keys that heldadmin:moderation:writehave it too. Moderators’ keys hold onlycatalog:readand the moderation scopes, checked on every request.
Pre-decimal cover prices
- Issues and editions have
coverPriceAsPrinted: a price from before decimal currency, as printed in pounds, shillings and pence (9d,1/-,2/6).coverPriceis null for one; it is never converted to a decimal amount. - These prices used to come through wrong: the British edition of Amazing Fantasy #15 (9d) had a
coverPriceof 900 GBP. The catalog’s values are being corrected.
- Issues and editions have
Webhooks
- Events sent to your URL as they happen, signed with
Collector-Signature(HMAC-SHA256 of the timestamp and raw body), retried with backoff for 24 hours, and logged for 30 days. 18 events: copies, wishlist matches, holds, questions, listing sales and stock, moderation queues, catalog edits and exports. See the Webhooks guide. /webhooks,/stores/{storeId}/webhooksand/admin/webhooks: make, change, delete and test webhooks, rotate their secrets, read their deliveries and resend one.GET /webhooks/eventslists the events.- New scopes:
webhooks:readandwebhooks:write,store:webhooks:readandstore:webhooks:write,admin:webhooks:readandadmin:webhooks:write. Subscribing to an event through a key also needs the scope that reads it. - The OpenAPI document describes every event under
webhooks(OpenAPI 3.1), and the SDK’sverifyWebhook()checks a delivery and returns the typed event.
- Events sent to your URL as they happen, signed with
Imports as jobs
POST /collection/importstakes a collection file (our export, CLZ Comics, League of Comic Geeks, or any sheet with a series or title column) as CSV text or rows, up to 10,000 rows, and answers202with a job. It matches each row to the catalog and adds the copies in the background, the way the import screen does. It accepts anIdempotency-Key, and sending the same file again adds only what’s new.- Follow it with
GET /collection/imports/{id}: its phase and progress, and counts of what matched, what was added, what was already there, what needs review and what the catalog doesn’t have.GET /collection/imports/{id}/rowssays what became of each row (filter[outcome]=needs_reviewlists the rows held back, with the issues each could be).GET /collection/importslists your imports. - Undo one with
POST /collection/imports/{id}/undo, as for imports from the app. Sending an import needscollection:write; following one,collection:read.
The Store API
- A store’s inventory as a resource:
GET /stores/{storeId}/inventory(filter by SKU, barcode, issue, status andupdatedSince) and one item by id, in camelCase withMoney. POST /stores/{storeId}/inventory/batchupserts up to 500 listings keyed by your SKU or the book’s barcode, matched to the catalog the way the scanner matches it, with a result for each row (bodies up to 4 MiB, like the other batches);…/inventory/stockadjusts stock by deltas or counts;…/inventory/matchmatches barcodes without saving anything.- Holds and questions under the store’s path:
GET /stores/{storeId}/holds/{holdId},accept,declineandcomplete, andPOST /stores/{storeId}/questions/{questionId}/answer. The holds and questions lists takelimitandcursorand answernextCursor. GETandPATCH /stores/{storeId}/storefront: the profile, hours and policies, changing only the fields you send.- Read-only billing:
GET /stores/{storeId}/billing/fees(the seller-fee ledger) and…/billing/invoices. - Every route a store key can call has request and response examples, and a key for one store gets
404from any other.
- A store’s inventory as a resource:
Keys reach documented operations only
- API keys can call only the operations in the reference. A key sent to an undocumented one, such as the apps’ own push-device and pairing routes, answers
403 key_not_allowed. Nothing documented changed.
- API keys can call only the operations in the reference. A key sent to an undocumented one, such as the apps’ own push-device and pairing routes, answers
Input limits
- Request bodies are capped at 1 MiB, or 4 MiB for
POST /collection/items/batch, inventory imports and the assistant. A bigger body answers413 payload_too_largebefore it’s read. - Every string and array in a request now has a maximum, shown in the reference as
maxLengthandmaxItems. Search and filter text runs to 200 characters. A longer value is400 invalid_request, naming the field. - Rotating an admin key needs a sign-in from the last 12 hours, like making one (
403 reauthentication_required).
- Request bodies are capped at 1 MiB, or 4 MiB for
Examples everywhere
- Every operation has request and response examples in the spec: path and query parameters, bodies and responses. The reference shows them, with code samples that use them, instead of placeholder values.
- The SDK’s types carry the same examples. The routes under
/storesget theirs with the store API.
You, your exports, scans and labels
GET /me: your account, profile and settings, your plan, and the key you’re calling with.- Full exports are jobs you can follow:
GET /me/exportsandGET /me/exports/{id}, with a download for each part once it’s ready. GET /scanslists your scans (new scope:scans:read).POST /labelsmakes QR labels for copies and storage locations with what each prints;GET /labels/{code}says what a scanned one is on.GET /collection/facets: how your copies divide, by publisher, place, tag, grader and decade.
Your collection
- Copies as a resource:
GETandPOST /collection/items, andGET,PATCHandDELETEone by id. Lists filter by series, issue, edition, publisher, place, tag, grading, keys, signed and for-trade, and sort by title, value, grade and dates. POST /collection/items/batchadds up to 500 copies with a result for each row. Give each aclientKeyand a retry adds only what’s missing.- The wishlist (
/wishlist, andacquirewhen you get one), storage locations (/collection/locations) and runs with their gaps (/collection/runs). - A copy’s prices are
Moneyin its own currency; an amount in another one is422 currency_mismatch, never converted.
- Copies as a resource:
Catalog records
- The catalog as records, for integrations that mirror or browse it: publishers and imprints, series, issues, editions, releases, creators and characters, under
/catalog/. See the Catalog records reference. - The first lists paged by cursor:
?limit=and?cursor=,filter[field]=andsort=, with aLinkheader to the next page. Every list takesfilter[updatedSince], so a sync asks only for what changed. - Prices are
Money(amountCentsandcurrency), and null when the record has no currency. GET /catalog/issues/{id}now answers signed cover URLs, like the other public routes.
- The catalog as records, for integrations that mirror or browse it: publishers and imprints, series, issues, editions, releases, creators and characters, under
The API at api.collection.id
- The API has its own address and its own servers:
https://api.collection.id/v1. The OpenAPI document lists it as the first server, and its paths are now relative to it (/catalog/searchrather than/api/v1/catalog/search). - Nothing breaks:
https://collection.id/api/v1answers the same routes, and our web and native apps keep using it. Integrations should move to the new address. - On
api.collection.id, CORS is open to any origin (without credentials), so an API key works from a browser too. Session cookies work only on the website. GET /healthfor uptime monitors, and the OpenAPI document is also athttps://api.collection.id/openapi.json. The SDK’s default base URL is nowhttps://api.collection.id/v1.
- The API has its own address and its own servers:
Rate limits and usage
- Every call counts against its caller: each API key, each collector for our apps, each network signed out. A per-minute burst and a per-day quota, with heavier operations (searches, exports, bulk writes, the assistant) taking more. See Rate limits.
- Answers carry
RateLimit-PolicyandRateLimit(the IETF draft). A refusal is a429withRetry-Afterandpolicy,limit,remainingandresetin the problem. - New errors:
quota_exceededandtemporarily_blocked(429),plan_required(403). - Each key’s last 30 days of requests, refusals and errors show on the key.
API keys and scopes
- API keys for integrations: personal keys (Settings → API keys), store keys (a store’s API keys tab) and admin keys (Admin → API keys). Send one as
Authorization: Bearer ck_live_…; it acts as its owner. See Authentication. - Scopes: each operation lists the scopes a key needs (its
securityandx-scopesin the OpenAPI document). Operations that list none, such as managing keys, aren’t available to keys. - A store key reaches its own store only. Admin keys expire within 90 days and can be limited to IP addresses. Keys can be rotated with a 24-hour grace period, and revoked at once.
- New errors:
invalid_api_key(401),insufficient_scope,key_not_allowedandip_not_allowed(403), withWWW-Authenticateon key refusals.
- API keys for integrations: personal keys (Settings → API keys), store keys (a store’s API keys tab) and admin keys (Admin → API keys). Send one as
Developer portal, TypeScript SDK, and a fix to the OpenAPI document
- This portal: the reference, guides, error codes and this changelog.
@collector/sdk, a typed client generated from the OpenAPI document (in our repository; not on npm yet).- Fixed: the OpenAPI document left out every field and path parameter named
id, such as the{id}in/api/v1/public/listings/{id}. The routes themselves were unaffected; their documentation now matches them.
API v1: every route documented
- Every
/api/v1route is served from a contract, and the OpenAPI 3.1 document at /api/v1/openapi.json is generated from them. - Errors are problem documents with a stable
code(see Errors); the oldererrormember stays for existing clients. - Every response carries
X-Request-Id; reads carry anETagand answer304toIf-None-Match. - Idempotent writes accept
Idempotency-Keyand replay their first answer for 24 hours.
- Every
Coming
- Webhooks ENGIN-50