Image Item File data fields

The imageitemfile form data and fields are described below.

imageitemfile was introduced in API version V1

imageitemfile has not been marked for deprecation

Description

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

Fields

NameTypeDescriptionConstraints
imageItemUrnString representation of a Unique Resource Name. Typically a UUID with 36 characters.The URN of the image item that the provided file will be associated with.Required on create.
imageItemSizeString literalThe image item format (size). Note that imageitem concepts support three file size formats to allow support for responsive images in web contexts or other app contexts where different image sizes may be required.Required on create.

Allowed values:

  • DEFAULT
  • LARGE
  • MEDIUM
srcmultipart/form-data encoded file data provided to be processed by the endpointImage file content multipart form encoded. The file includes a name which the API handler will attempt to preserve according to valid file naming conventions.Required on create.