Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

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 file size is limited to 200KB

Response format and codes

HTTP codeDescription
204Image has been uploaded
400Invalid data. Error response will include details
401The user does not meet the security criteria
404The 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 namepurpose
MongoDBsimple database storage
S3data storage