Skip to main content
POST
Initiate a project file upload

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format. The CLI's ta auth access tokens are also accepted; because they name a user rather than a workspace, a user in several workspaces selects one with the x-testerarmy-team header (workspace id or slug).

Path Parameters

projectId
string
required

Project ID or shortId

Body

application/json
filename
string
required
Minimum string length: 1
fileSize
integer
required
Required range: x <= 52428800
mediaType
string

Response

Presigned project-file upload details

uploadUrl
string<uri>
required
storageKey
string
required
mimeType
string
required
filename
string
required
fileSize
integer
required
mediaType
string
required