Skip to main content
POST
/
upload
/
multipart
/
{username}
/
{namespace}
/
{datasetName}
/
finish
Finish multipart upload
curl --request POST \
  --url https://api.datalinks.com/api/v1/upload/multipart/{username}/{namespace}/{datasetName}/finish \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "uploadId": "2~VmxqYXRlRDZWfjJrRWRiZ2FEQXk3dHI4DGhGLygtTmQNXEZPQXFzMVZOZTUgdEdrXCEyNStkQUp3U3Q2RjJqSkV4MFNBOWxJCk0yIHEkfcQ",
  "key": "uploads/data/20240301-143022-uuid.json",
  "parts": [
    {
      "partNumber": 1,
      "etag": "d41d8cd98f00b204e9800998ecf8427e"
    }
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Path Parameters

username
string
required
namespace
string
required
datasetName
string
required

Body

application/json
uploadId
string
required
Example:
key
string
required
Example:
parts
object[]
required
Minimum length: 1

Response