Image Data

Uploads and downloads raw image data

Download image data

get

Downloads binary image data

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Header parameters
RangestringOptional

The range of image data requested

Responses
200

Image data downloaded successfully

application/octet-stream
Responsestring · binary
get
/images/{image_id}/file

Upload image data

put

Uploads binary image data

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Header parameters
X-Image-Meta-StorestringOptional

A store identifier to upload image data

Body
string · binaryOptional
Responses
put
/images/{image_id}/file

No content

Stage image data

put

Places the binary image data in a staging area for interoperable image import

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Body
string · binaryOptional
Responses
put
/images/{image_id}/stage

No content

Import image

post

Signals the Image Service to complete the image import workflow

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
image_idstring · uuidRequired

The UUID of the image

Header parameters
X-Image-Meta-StorestringOptional

A store identifier to import image data

Body
storesstring[]Optional

List of store identifiers to import to

all_storesbooleanOptional

Import to all available stores

all_stores_must_succeedbooleanOptional

Whether all stores must succeed for the operation to succeed

Responses
post
/images/{image_id}/import

No content

Last updated

Was this helpful?