Upload a new image for a link.
The calling user must have the EB_ROOT, EB_ADMIN, EB_APP, SEARCH_ADMIN or SEARCH_MANAGER role for this instance or the global instance.
None
The image to be used for the link.
The proper Content Type must be specified on the request headers.
The file size is limited to 200KB
HTTP code | Description |
---|---|
204 | Image has been uploaded |
400 | Invalid data. Error response will include details |
401 | The user does not meet the security criteria |
404 | The link does not exist |
When the image has been successfully uploaded, a 204 will be returned with a Location header pointing to the actual image URL.
service name | purpose |
---|---|
MongoDB | simple database storage |
S3 | data storage |