Image Item File – Baack docs
Image Item File
Image files are transferred using multipipart/form-data which is widely supported by HTTP clients and browsers to submit files. The endpoint allows upload of a single 'src' file which will be associated with either the default, large or medium format file according to the value of the imageItemFormat
Endpoints
GET/n/v1/imageitemfile/{urn}
Endpoint for associating an image file with a image item in an entity. Use this endpoint to upload a file which will be distributed to content delivery edge points
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/imageitemfile/{urn}
Fields
| Field | Type | Description |
|---|---|---|
| imageItemSize | string | Required on create. One of: |
| src | string | Required on create. |
| imageItemUrn | string (uuid) | Required on create. |