POST assets instances_confirm_multipart_upload

Changed on
post/api/v1/assets/confirm_multipart_upload

Request

  • Base URL
    https://app.onecodex.com
  • URL
    https://app.onecodex.com/api/v1/assets/confirm_multipart_upload
  • Auth
    API key in header X-API-Key

Request body

filenamestring required

The filename of the uploaded asset. Filenames should only contain alphanumeric characters, dashes, underscores, and periods.

namestring nullable

An optional display name for the asset. Defaults to filename if not provided.

s3_pathstring required

The s3:// URI where the multipart upload was completed (built from s3_bucket and file_id returned by /assets/init_multipart_upload).

Response

OK

asset_idstring required

The asset ID of the newly created asset. The asset will be in the importing status until its contents have been copied to One Codex storage.

Changes