Skip to main content
Confirm a signed-URL raw-data upload

Path Parameters

raw_data_id
string
required

Body

application/json

Body for POST /raw_data/{raw_data_id}/confirm-upload.

Repeats the record metadata (same as initiate, so no orphan record is created if the PUT fails) plus the uploaded file's filename, content type, and client-computed size. The server recomputes the storage path from organization_id + raw_data_id + filename; a client-supplied path is never trusted.

project_id
string
required

Owning project ID (required).

name
string
required

User-provided label for the raw file.

filename
string
required

Filename that was uploaded.

source
string | null

Free-text provenance: where this raw file came from (a URL, DOI, S3 URI, vendor/cycler export description, etc.).

metadata
Metadata · object

Loose free-form metadata.

content_type
string | null

MIME type, if known.

size_bytes
integer | null

File size in bytes, computed client-side.

Response

Successful Response

A raw-data record as returned by the API.

project_id
string
required

Owning project ID (required).

name
string
required

User-provided label for the raw file.

id
string
required

Unique identifier.

organization_id
string
required

Owning organization.

filename
string
required

Original uploaded filename.

storage_path
string
required

Path within the raw-data bucket.

created_at
string<date-time>
required

Creation timestamp.

updated_at
string<date-time>
required

Last update timestamp.

source
string | null

Free-text provenance: where this raw file came from (a URL, DOI, S3 URI, vendor/cycler export description, etc.).

metadata
Metadata · object

Loose free-form metadata.

content_type
string | null

MIME type, if known.

size_bytes
integer | null

File size in bytes.

created_by
string | null

User ID of the uploader.