felix
datasets

Upload Reserved Dataset Content

Streams raw upload bytes to a reservation's S3 key for the caller.

The body is consumed as it arrives rather than read into memory, so a dataset of any size costs one multipart part of resident memory.

Args: dataset_id: Reservation returned by POST /felix/datasets/upload/url. http_request: Carries the raw file bytes as the request body. auth: Authenticated caller, who must own the reservation.

Returns: A receipt naming the reservation and the byte count stored.

Raises: HTTPException: 404, 409, 400, or 413 per :data:_REFUSAL_RESPONSES.

put/felix/datasets/upload/{dataset_id}/content

Path parameters

dataset_idstring required

Response

Successful Response

dataset_idstring required

Dataset ID the bytes were stored against

version_numberstring required

Version number of that dataset

bytes_receivedinteger required

Number of bytes stored

Changes