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

Body

application/json

Body for POST /raw_data/initiate-upload.

Carries the record metadata (project_id, name, source, metadata from RawDataBase) plus the original filename and optional content type needed to build the storage path and signed URL. No DB row is created.

project_id
string
required

Owning project ID (required).

name
string
required

User-provided label for the raw file.

filename
string
required

Original filename to upload.

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.

Response

Successful Response

Response from POST /raw_data/initiate-upload.

raw_data_id
string
required

Pre-generated raw-data record ID.

uploads
RawDataUploadInfo · object[]
required

Signed-URL targets (always a single-element list).