Skip to main content
POST
/
data_entries
/
raw_data
/
staged
/
upload_urls
/
complete
curl -X POST "https://api.atomscale.ai/data_entries/raw_data/staged/upload_urls/complete/" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "upload_id": "abc123",
    "new_filename": "staged_rheed_video.mp4",
    "etag_data": [
      {"ETag": "\"d41d8cd98f00b204e9800998ecf8427e\"", "PartNumber": 1}
    ]
  }'
{}
Finalizes a multi-part upload after all parts have been uploaded using the pre-signed URLs. You must provide the ETag returned by each part upload.
staging_type
string
default:"core"
Staging bucket type: core, instrument, or stream
upload_id
string
required
The upload session ID from the get upload URLs response
new_filename
string
required
The server-assigned filename from the get upload URLs response
etag_data
array
required
Array of ETag data for each uploaded part

Response

Returns an empty object on success.
curl -X POST "https://api.atomscale.ai/data_entries/raw_data/staged/upload_urls/complete/" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "upload_id": "abc123",
    "new_filename": "staged_rheed_video.mp4",
    "etag_data": [
      {"ETag": "\"d41d8cd98f00b204e9800998ecf8427e\"", "PartNumber": 1}
    ]
  }'
{}