Get upload URL for a part

This call will returns a signed URL for a specified part.

Request

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

Example request

GET /v2/automation/upload/t21hlXmwqu0xVARiiraceN6oRaaFmNqtpJOCenkWLw7KXa3XVrk25tHoxJ56Zrdv/part/1 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/t21hlXmwqu0xVARiiraceN6oRaaFmNqtpJOCenkWLw7KXa3XVrk25tHoxJ56Zrdv/part/1' \
--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.

part_number

Specify the part number.

Response

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

Example response body

{
    "method": "PUT",
    "url": "https://sbdevel-vayu-us-east-1.s3.amazonaws.com/zxc/b06c7776-5fb6-44e7-a915-296097ddd655%2Bkod.zip?uploadId=rjYCEeyygoypL9rZVny_nmFZYlWKvXZaUr4p6vIQR0YmMnWzM7pHAT6mQJgx4DqIvWsvebGBDCCeRqnxkTGpMt.RJ.Ap3zAxGZu948xnm14Zc1Dm_xagXtawICnyZXnN&x-username=test_20200505_115305_tod&partNumber=1&x-requestId=b4d926e5-d739-4042-aa2a-3994109e6a1b&x-project=test_20200505_115305_tod%2Ftest-params5121&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200507T105420Z&X-Amz-SignedHeaders=host&X-Amz-Expires=59&X-Amz-Credential=AKIASMHNZ7LBPDBND67C%2F20200507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=9194634e359b31e9326951b010ce59d0643400cba23cffa0cc06a74490711005",
    "expires": "2020-05-07T10:55:17Z",
    "headers": {},
    "success_codes": [
        200,
        201
    ],
    "report": {
        "headers": [
            "ETag"
        ]
    }
}