Get upload URL for a file part

This call returns the signed URL required to upload a part of a multipart upload. Once you have obtained this URL for your file part, you can make a PUT request to it with the file part as the request body.

📘

If you are using Seven Bridges Platform EU, please use the following endpoint: https://eu-api.sbgenomics.com/v2/upload/multipart/{upload_id}/part/{part_number}

Response

See a list of Seven Bridges Platform-specific response codes that may be contained in the body of the response.

Response body

The response object contains information about the URL to which you should upload the file part. The information is structured using the following key-value pairs:

KeyData typeDescription
methodStringThe HTTP method to use when making the HTTP part upload request.
urlStringThe URL to which to make the HTTP part upload request.
expiresIntegerISO 8601 combined date and time representation in Coordinated Universal Time (UTC) by when the HTTP part upload request should be made.
headersObjectA map of headers and values that should be set when making the HTTP part upload request.
reportObjectSee the structure of the report object section below for an explanation of the report object.
success_codesArray of IntegersA list of status codes returned by the HTTP part upload request that should be recognized as success.
A successful part upload request should be reported back to the API in a call to report an uploaded file part by passing the information collected from the report object.

Structure of the report object

This object instructs you which pieces of information need to be collected from a successful response to the HTTP part upload request.

KeyData typeDescription
headersArray of StringsA list of HTTP headers whose values should be collected from a successful response to the HTTP part upload request.
bodyObjectReserved for future use

See a list of Seven Bridges Platform-specific response codes that may be contained in the body of the response.

Language