Get details of a multipart upload

This call will return the details of an active multipart upload.

The upload is referenced by its ID as returned by a call to initialize a multipart upload or list current multipart uploads.

Request

https://api.sbgenomics.com/v2/automation/upload/{upload_id}
https://eu-api.sbgenomics.com/v2/automation/upload/{upload_id}

Example request

GET /v2/automation/upload/asz77rzJTAhDTXsTsxGduKxDRWUI30jozt0nXF8leVGKyXYw7RQaQbGrav5n5oWs HTTP/1.1
Host: api.sbgenomics.com
X-SBG-Auth-Token: 4e786405a9f54c00997f7a2a5484186d
X-SBG-Advance-Access: advance
curl --location --request GET 'https://api.sbgenomics.com/v2/automation/upload/asz77rzJTAhDTXsTsxGduKxDRWUI30jozt0nXF8leVGKyXYw7RQaQbGrav5n5oWs' \
--header 'X-SBG-Auth-Token: 4e786405a9f54c00997f7a2a5484186d' \
--header 'X-SBG-Advance-Access: advance' \

Header Fields

Name

Description

X-SBG-Auth-Token
required

Your Seven Bridges Platform authentication token.

Content-Type
required

application/json

X-SBG-Advance-Access
required

advance

Path parameters

Name

Description

upload_id

The ID of the upload. It can be obtained by initializing a new upload or by listing the ongoing multipart uploads.

Query parameters

Name

Datatype

Description

list_parts

Boolean: true or false

If true, also return a list of parts that have been reported as completed for this multipart upload.

Response

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

Example response body

{
    "href": "https://api.sbgenomics.com/v2/automation/upload/asz77rzJTAhDTXsTsxGduKxDRWUI30jozt0nXF8leVGKyXYw7RQaQbGrav5n5oWs",
    "upload_id": "asz77rzJTAhDTXsTsxGduKxDRWUI30jozt0nXF8leVGKyXYw7RQaQbGrav5n5oWs",
    "automation_id": "7e9aeb84-d60b-4c8d-a107-58cf5993e5f8",
    "name": "kod.zip",
    "initiated": "2020-05-05T10:24:42Z",
    "part_size": 1073741824,
    "parallel_uploads": true,
    "uploaded_parts_count": 0
}