v1

latestOpenAPI 3.0.32026-07-172714.4 KB
Upload

Create Upload Session

Initiates a new upload session and returns a presigned URL for S3 upload

post/v2/upload

Request body

content_hashstring required

Hash of the content to be uploaded

content_hash_algorithmstring required

Algorithm used to generate the content hash

content_lengthinteger required

Size of the file in bytes

Example request

{
  "content_hash_algorithm": "sha256"
}

Response

Upload session created successfully

presign_methodstring required

HTTP method to use for the S3 upload

presign_urlstring required

Pre-signed URL to upload the file directly to S3

upload_idstring required

Unique identifier for the upload session

Example response

{
  "presign_header": {
    "Content-Type": "application/zip"
  },
  "presign_method": "PUT"
}
All 2 operations