Uploads

Create a new upload

Create a new upload with the specified name.

POST
/api/uploads

Authorization

Authorization
header
string
required

Enter the project access token with the Bearer prefix, e.g. "Bearer project_access_token"

Bodyapplication/json

Upload creation parameters

metadata
object

Metadata allows for additional information to be attached to the upload, with a maximum size of 2048 bytes.

Examples:
map[key:value key2:value2]
storage
object

Optional Storage override. Omit id to use the Project default. Customer-connected Storage requires path; Chunkify Storage generates its own path.

validity_timeout
default: 7200
integer

Both the file PUT and completion POST must finish within this timeout in seconds

Required range: 300 <= x <= 36000
Examples:
7200

Responses

application/json
data
object
required

Data contains the response object

status
"success"
string
required

Status indicates the response status "success"

The upload was created successfully