Skip to main content
POST
Create a computer file upload

Authorizations

Authorization
string
header
required

Factory API key or JWT token for authentication

Path Parameters

computerId
string
required

Computer ID

fileName
string
required

Workspace file name

Required string length: 1 - 255
Pattern: ^(?=.*\S)(?!.*[\\/])(?!.*\.\.)(?!.*[\x00-\x1F\x7F]).+$

Body

application/json
sizeBytes
integer
required
Required range: 0 <= x <= 2147483648
contentType
string
required
Required string length: 1 - 255
Pattern: ^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+(?: *; *[!#$%&'*+.^_`|~0-9A-Za-z-]+=(?:[!#$%&'*+.^_`|~0-9A-Za-z-]+|"[\x20-\x7E]*"))*$

Response

Response for status 200

transferId
string<uuid>
required
expiresAt
number
required
uploadUrl
string
required
Minimum string length: 1
uploadFormFields
object
required