Adding an error image
Request
To ingest an error image – to be used when a system issue occurs – send a PUT request to:
https://<host>:<port>/imagemetadata/v1/error/upload
Headers
Content-Type: image/jpeg
Mandatory arguments
None
Other arguments
Multipart body containing binary image with form data param having name "image"
Example
A PUT request like this:
https://<host>:<port>/imagemetadata/v1/error/upload/error
... uploads an error image.
Responses
A successful request returns an HTTP 200 status.
A bad request returns an HTTP 400 status.
An unsuccessful request returns an HTTP 500 status.