Skip to navigation

Request presigned URLs for the remaining chunks

This method generates new presigned URLs for specific chunks that require uploading. Use this endpoint in the following situations:

  • Your initial URLs have expired (URLs expire after one hour).
  • The initial set of presigned URLs does not include URLs for all chunks.
  • You need to retry failed chunk uploads with new URLs. To specify which chunks need URLs, use the start and count parameters. For example, to generate URLs for chunks 21 to 30, use start=21 and count=10. The response contains a URL for each requested chunk. If a URL generated earlier for a chunk has more than one minute left, the platform returns that URL again. The URL keeps its original expiration time. Otherwise, the platform generates a new URL that expires one hour after the request. The expires_at field of each URL gives its expiration time.

Authentication

x-api-keystring

Your API key.

Note

You can find your API key on the API Keys page.

Path parameters

upload_idstringRequired
The unique identifier of the upload session.

Request

This endpoint expects an object.
startintegerRequired>=1
The index of the first chunk number to generate URLs for. Chunks are numbered from 1.
countintegerRequired1-50
The number of presigned URLs to generate starting from the index. You can request a maximum of 50 URLs in a single API call.

Response

Additional presigned URLs have been successfully generated.
upload_idstringOptional
The unique identifier of the upload session associated with these URLs.
start_indexintegerOptional
The index of the first chunk number in this set of URLs. Matches the start value from your request.
countintegerOptional

The number of URLs returned. This value is lower than the count parameter in your request when the requested range extends past the last chunk.

upload_urlslist of objectsOptional
An array of additional presigned URLs for uploading chunks.
generated_atstringOptionalformat: "date-time"

The date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the platform processed this request. URLs generated by this request remain valid for 1 hour from this time. URLs returned again from an earlier request keep their original expiration time.

expires_atstringOptionalformat: "date-time"

The date and time, in the RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the URLs generated by this request expire, one hour after generated_at. This value is not the expiration time of the upload session. URLs returned again from an earlier request can expire before this value. The expires_at field of each item in the upload_urls array gives the expiration time of that URL.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error