Method description
Upload a new image for a link.
Security
The calling user must have the SEARCH_MANAGER role for this instance or the global instance.
Request Parameters
None
Request Data
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
Response format and codes
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.
Dependencies
service name | purpose |
---|---|
MongoDB | simple database storage |
S3 | data storage |