Files
Upload and download workspace-level files
Uploads a file at the workspace level. Once used in a submission it cannot be reused. Send the raw binary as the body with the correct Content-Type header.
Authorizations
OAuth2passwordRequiredToken URL: Refresh URL:
Send the access token as Authorization: Bearer <token>.
OAuth2authorizationCodeRequiredAuthorization URL: Token URL: Refresh URL:
Send the access token as Authorization: Bearer <token>.
Path parameters
app_shortstringRequired
Short name of the workspace, as found in the URL of the back-office.
Header parameters
X-Accept-Versionstring · enumOptionalDefault:
API version to apply. Defaults to v1.0 when omitted; an unknown value falls back to the latest version.
v1.3Possible values: Body
string · binaryOptional
Responses
200
File uploaded
application/json
mime-typestringOptional
sizeintegerOptional
File size in bytes
uuidstring · uuidOptional
Reference this UUID in submission fields of type image/signature/file
401
Missing or invalid access token.
application/json
404
The file could not be stored.
application/json
post/{app_short}/files/upload
POST /{app_short}/files/upload HTTP/1.1
Host: api.daxium-air.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/octet-stream
Accept: */*
Content-Length: 8
"binary"{
"mime-type": "text",
"size": 1,
"uuid": "123e4567-e89b-12d3-a456-426614174000"
}Last updated
Was this helpful?

