Add images to the release artwork pool
const url = 'http://localhost:8891/api/v1/releases/9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70/artwork-pool';const options = { method: 'POST', headers: { 'idempotency-key': '3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"images":[{"image_id":"5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e","filename":"band-photo.jpg","content_type":"image/jpeg","byte_size":24117248,"checksum_sha256":"8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8891/api/v1/releases/9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70/artwork-pool \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'idempotency-key: 3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17' \ --data '{ "images": [ { "image_id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e", "filename": "band-photo.jpg", "content_type": "image/jpeg", "byte_size": 24117248, "checksum_sha256": "8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c" } ] }'The release artwork pool holds images that belong to the release rather than to any product, so one upload can be reused: cropped again later, or used on another product or outside print. A batch, exactly as tracks: each image comes back with its own upload target — PUT the file to upload.url with upload.headers verbatim. No confirmation call: the object is detected on arrival, checked, and the image moves to ready with its pixel size, a preview and its original, or to failed with an error_code (artwork_unreadable for a file that is not an image, artwork_format_unsupported for one that is not a JPEG or PNG). An image whose window lapses before any file lands ends as upload_expired; create a new image for it. No webhook is sent for the pool: read its state from the listing. Repeating an image_id in a later request returns its existing upload target. Retry a 500 under the same Idempotency-Key until it answers 201. 404 on an unknown release, and on a release belonging to another organisation — which of the two it was is not disclosed; 409 on an Idempotency-Key reused for a different request, or on an image_id whose upload target was opened for a different file; 422 on an image_id repeated within one batch, on one belonging to another release, or on one whose file has already arrived. The body is strict: a key this operation does not define is a 400 naming it. Requires the catalogue:write scope. Full flow: see the minimal path guide.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Example
9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70Header Parameters
Section titled “Header Parameters”Example
3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17Unique key for this write. Retrying with the same key replays the first response instead of creating a duplicate; reusing it for a different body is a 409. Keys are scoped to the operation, so the same key may also be sent to a different endpoint.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Hex SHA-256 of the exact bytes you will PUT. Any other bytes are refused: by storage when upload.headers carries it as x-amz-checksum-sha256, otherwise by the ingest. Produce it with shasum -a 256 <file>.
Example
{ "images": [ { "image_id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e", "filename": "band-photo.jpg", "content_type": "image/jpeg", "byte_size": 24117248, "checksum_sha256": "8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c" } ]}Responses
Section titled “ Responses ”Default Response
object
object
Ingest lifecycle of a release artwork pool image. Only a ready image has a pixel size and a preview.
Example
{ "data": [ { "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e", "status": "awaiting_upload", "width_px": null, "height_px": null, "preview": null, "original": null, "upload": { "url": "https://uploads.staging.elasticstage.com/uploads/upl_7a1e…?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Signature=…", "method": "PUT", "headers": { "Content-Type": "image/jpeg", "x-amz-checksum-sha256": "igwuS22PCixOa40PKkxuigwuS22PCixOa40PKkxuigw=" }, "expires_at": "2026-07-29T23:00:00Z" }, "filename": "band-photo.jpg", "checksum_sha256": "8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c", "error_code": null, "error_detail": null, "created_at": "2026-07-29T10:31:02Z" } ]}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}