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/upload/multipart/{upload_id}
https://eu-api.sbgenomics.com/v2/upload/multipart/{upload_id}

Example request

GET /v2/upload/multipart/ezBaGmsWvyLwLjDdw3WNXXfs0EK4GpcHXijP37fP7o1jbdh24IAFEF7New5wYyli HTTP/1.1
Host: api.sbgenomics.com
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl -s -H "X-SBG-Auth-Token: 7942f56901534434a054dafc3813bc96" -H "content-type: application/json" -X GET "https://api.sbgenomics.com/v2/upload/multipart"

Header Fields

Name

Description

X-SBG-Auth-Token
required

Your Seven Bridges Platform authentication token.

Content-Type
required

application/json

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

{
  "upload_id": "X5FXjV7JVCdg0cidZKIOOZRvAgahy9znuHq1PMsOZ85de6x53UOcJAcCDXANVTpm",
  "project": "RFranklin/my-project",
  "name": "1000G_omni2.5.b37.vcf",
  "initiated": "2016-01-01T00:00:00Z",
  "parallel_uploads": true,
  "part_size": 1073741824,
  "uploaded_parts_count": 1,
  "parts": [
    {
      "part_number": 1,
      "response": {
        "headers": {
          "ETag": "43a5e128440f2b6602badfdabe610f30"
        }
      }
    }
  ]
}