Image Search

Creates signed upload information that can be used to upload the image. This is meant for uploading images for image search via /images/{id}/model-matches.

The response will include the appropriate headers and upload URL that can be used to upload the image.

{
 "image": {
  "id": "<imageId>",
  "uploadUrl": "<upload-url>",
  "headers": {
    "<header1-name>": "<header1-value>",
    "<header2-name>": "<header2-value>",
  }
 }
}

The image can be uploaded via a PUT request to the <upload url> including the file and the supplied headers.

Example using curl command:

curl -X PUT --upload-file file.png -H '<header1-name>: <header1-value>' -H '<header2-name>: <header2-value>' <upload-url>

Image files can be a max of 10 MB in size.

post/images

Headers

X-PHYSNA-TENANTIDstring

Request body

filenamestring required

Response

Ok

Changes

No recorded changes to this endpoint across all 1 revision of this API.