Download a currently assigned article image
All field references · Articles
GET /v1/articles/{id}/images
Get a private five-minute download URL for an image currently assigned to the article, its gallery or a variant. Pass image_ref unchanged from the article response. Unassigned, unknown and foreign references all return not found. Test keys cannot read live catalogue images. The response is not cacheable; a previously issued download URL remains usable until its short expiry.
Required scopes: "products:read".
#Parameters
#path: id
Required. Article whose current image assignment authorizes this download.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: image_ref
Required. Unchanged image_ref currently returned by this article, its gallery or one of its variants. Unassigned prepared images cannot be downloaded through this read operation.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | Unchanged image_ref currently returned by this article, its gallery or one of its variants. Unassigned prepared images cannot be downloaded through this read operation. minLength: 1. maxLength: 1500. |
#Request body
No request body is defined for this operation.
#Response 200
200: Success
Content type: application/json
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | object | Whole value | Not allowed | Additional properties are not allowed. |
| data | object | Required when parent is present | Not allowed | Temporary access to one image currently assigned to the article. Additional properties are not allowed. |
| data.image_ref | string | Required when parent is present | Not allowed | The unchanged image reference requested. minLength: 1. |
| data.download_url | string | Required when parent is present | Not allowed | Temporary private download URL for the currently assigned image. Do not persist this URL instead of image_ref. format: "uri". |
| data.expires_in_seconds | number | Required when parent is present | Not allowed | The download link expires five minutes after issuance. A previously issued link remains valid for this short lifetime after the image is unassigned. const: 300. |
#Response 401, 403, 404, 422, 429, 500, 503
401: The key is missing, unknown, revoked or expired. 403: The key lacks a required scope, or the operation requires a live key. 404: Not found. Also applies to IDs that belong to another organization — we deliberately do not distinguish between "does not exist" and "does not belong to you". 422: Content validation failed. The response lists all affected locations at once. 429: A rate limit was reached and the request did not run. Wait for Retry-After, then repeat it unchanged. X-RateLimit-Scope names the limit: key (120 requests per minute), organization (300 per minute across all keys), write (1,000 at once, refilling at 60 per minute) or list (300 unfiltered list pages at once, refilling at 10 per minute). 500: Unexpected error on our side. 503: Temporarily unavailable. Repeat the same request with the same business identity.
Content type: application/json
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | object | Whole value | Not allowed | — |
| error | object | Required when parent is present | Not allowed | Machine-readable error code; use it to select the documented recovery path. |
| error.code | string | Required when parent is present | Not allowed | Machine-readable, permanently stable error code. Program against it, not against message. |
| error.message | string | Required when parent is present | Not allowed | Explanation for humans. May change at any time. |
| error.field | string | Optional | Not allowed | Affected location in the request, if it can be determined. |
| error.doc_url | string | Required when parent is present | Not allowed | Documentation link explaining this API error. format: "uri". |
Machine-readable version of this page: https://www.meykt.com/developers/fields-read-article-image.md