get https://api.sbgenomics.com/v2/upload/multipart//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
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:
Key | Data type | Description |
---|---|---|
method | String | The HTTP method to use when making the HTTP part upload request. |
url | String | The URL to which to make the HTTP part upload request. |
expires | Integer | ISO 8601 combined date and time representation in Coordinated Universal Time (UTC) by when the HTTP part upload request should be made. |
headers | Object | A map of headers and values that should be set when making the HTTP part upload request. |
report | Object | See the structure of the report object section below for an explanation of the report object. |
success_codes | Array of Integers | A 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.
Key | Data type | Description |
---|---|---|
headers | Array of Strings | A list of HTTP headers whose values should be collected from a successful response to the HTTP part upload request. |
body | Object | Reserved for future use |