POST
/
workspaces
/
import
/
upload
/
complete
curl --request POST \
  --url https://api.mudstack.com/workspaces/import/upload/complete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-account-id: <x-account-id>' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "upload_id": "<string>",
  "key": "<string>",
  "upload_parts": [
    {
      "ETag": "<string>",
      "PartNumber": 123
    }
  ],
  "checksum": {
    "algorithm": "CRC32",
    "value": "<string>"
  }
}'
{
  "location": "<string>",
  "bucket": "<string>",
  "key": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Body

application/json
upload_id
string

The upload ID of the multi-part upload

key
string

The key of the file part

upload_parts
object[]
checksum
object

Payload containing checksum information.

Response

200 - application/json
The result of the completed multi-part upload
location
string

The final location of the uploaded file

bucket
string

The bucket where the file is stored

key
string

The key of the uploaded file