Skip to content
Baack

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

Browse the docs

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

Image Item File fields
FieldTypeDescription
imageItemSizestring

Required on create.

One of: DEFAULT, LARGE, MEDIUM

srcstring

Required on create.

imageItemUrnstring (uuid)

Required on create.