Versions Compared

Key

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

If an upload URL has already been generated for

you

your thumbnail, you can use it

to upload

instead for uploading the thumbnail

now

.

Warning

Please note that the token in the upload URL is valid for four hours. This means that if the upload takes longer than four hours to complete, an error will occur. If this happens, perform the "Get thumbnail upload URL" request again to generate a new upload URL.

Request

Code Block
languagetext
themeConfluence
curl -X POST -F "file=@/<FILENAME>" "https://file-1-b.video-cdn.net/FQMx5EcAGqS-789vU7s6QY/78463.UPLOAD_Bzg_-8GaCUeRDYhaLd3eCf.jpeg/still?mime-type=image%2Fjpeg&__token__=abc123"
URLDescription
UPLOAD_URLAn example upload URL is shown above, this . This is returned from the API's Get Thumbnail Upload URL endpoint.
Parameters
tokenThe token is returned along with the upload URL and is valid for 4 hours (see warning above).
mime-typeThe upload URL also contains the mime type of the image.
Form Data
file=@/<FILENAME>

Indicate the filename (and path if necessary) of the local thumbnail image file to upload.

Be sure to prefix the filename with

Ensure that you add "@/" in front of the filename.


Response

204 - OK

1101 - Upload denied because the booked storage capacity limit is reached.