Complete a multipart code package upload

This call must be issued to report the completion of a code package upload.

An optional list of remaining parts may be given in the body of this request. The format of this list is the same as described in report uploaded parts.

Request

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

Example request

POST v2/automation/upload/X5FXjV7JVCdg0cidZKIOOZRvAgahy9znuHq1PMsOZ85de6x53UOcJAcCDXANVTpm/complete 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 DELETE "https://api.sbgenomics.comv2/automation/upload/X5FXjV7JVCdg0cidZKIOOZRvAgahy9znuHq1PMsOZ85de6x53UOcJAcCDXANVTpm/complete"

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 for the upload, returned by the call to initialize a 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-cp-upload-vayu.sbgenomics.com/v2/files/5e8b3fbee4b0f0635c523566",
        "id": "5e8b3fbee4b0f0635c523566",
        "name": "test-11",
        "size": 613292,
        "automation_id": "4985faf9-a1f4-4eab-953c-46ea8a65d3ab",
        "created_on": "2020-04-06T14:42:06Z",
        "modified_on": "2020-04-06T14:42:06Z"
    }