v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Synthetics

Complete a multipart upload of a test file

Complete a multipart file upload for a Synthetic test. Call this endpoint after all parts have been uploaded using the presigned URLs obtained from the multipart presigned URLs endpoint.

post/api/v2/synthetics/tests/{public_id}/files/multipart-upload-complete

Path parameters

public_idstring required
Example:abc-def-123

The public ID of the Synthetic test.

Request body

keystring required

The full storage path for the uploaded file.

uploadIdstring required

The upload ID returned when the multipart upload was initiated.

Example request

{
  "key": "org-123/api-upload-file/abc-def-123/2024-01-01T00:00:00_uuid.json",
  "parts": [
    {
      "ETag": "\"d41d8cd98f00b204e9800998ecf8427e\"",
      "PartNumber": 1
    }
  ],
  "uploadId": "upload-id-abc123"
}

Response

No Content