/scans/{id}/processMatches (or re-matches) a scan: a barcode lookup, then an AI read of the cover or slab photo when one was uploaded and the barcode didn’t settle it. The body is optional: the uploaded imagePath and thumbPath, a typed addOn, coverHash, mode, or rereadPhoto: true. 30 a minute.
collector.processScan()scans:writeX-Request-Ididstring (uuid)requiredThe scan’s id.
at most 64 characters
object
imagePathstring or nullat most 400 characters
thumbPathstring or nullat most 400 characters
addOnstring or nullcoverHashstring or nullmodeenumbarcodecoverslabrereadPhotoboolean200OKThe scan with its candidates.
object
invalid_requestinvalid_jsoninvalid_addonno_barcode
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_addon: The add-on isn’t 2 or 5 digits.
no_barcode: An add-on was sent for a scan without a barcode.
unauthorized: Not signed in (no session or token, or an expired one).
not_found: Nothing at that address.
scan_not_found: No scan of yours with that id.
already_addedalready_processing
already_added: The scan was already added as a copy.
already_processing: Another match of this scan is running.
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
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).