Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.33 KB

Upload.md

File metadata and controls

32 lines (21 loc) · 1.33 KB

Upload

Properties

Name Type Description Notes
id String Unique identifier for the Direct Upload. [optional]
timeout Integer Max time in seconds for the signed upload URL to be valid. If a successful upload has not occurred before the timeout limit, the direct upload is marked `timed_out` [optional]
status StatusEnum [optional]
newAssetSettings Asset [optional]
assetId String Only set once the upload is in the `asset_created` state. [optional]
error UploadError [optional]
corsOrigin String If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers. [optional]
url String The URL to upload the associated source media to. [optional]
test Boolean Indicates if this is a test Direct Upload, in which case the Asset that gets created will be a `test` Asset. [optional]

Enum: StatusEnum

Name Value
WAITING "waiting"
ASSET_CREATED "asset_created"
ERRORED "errored"
CANCELLED "cancelled"
TIMED_OUT "timed_out"