Submit a colour Assessment
Measures the colour of up to four regions in each of up to eight evidence
images. A region is [left, top, right, bottom] in pixels, at least 16 on each
side and inside its image. Every limit is checked before anything is written, so
a refusal is 400 INVALID_REQUEST naming the image or region and records
nothing. The answer is 202 with the assessment queued and its recorded
request, which binds each evidence id to the digest of the bytes it will
measure. Poll GET /v1/digitisation/assessments/{assessment_id} for the result.
Send an Idempotency-Key: it is required, and a retry with the same key and
the same request answers the first response, byte for byte, with
Idempotency-Replayed: true.
Requires the digitisation.write scope, which your account operator provisions;
served only where digitisation is enabled for your environment.
Authentication
API key for one environment of your account. Keep server-side; never expose in browser clients.
Headers
Request
Queue an assessment: images and regions are ordered, and the result keeps it.
The product the images show, as the caller names it. Every field is optional
and descriptive: it is what a reviewer reads, never what is measured. A stage of
a candidate defaults its external_ref and shade_name from it.
Response
The assessment, queued; a replay under the same Idempotency-Key answers it again with Idempotency-Replayed: true
The canonical result; result_sha256 is its digest.
The canonical request; request_sha256 is its digest.