Previews

Get a preview by its id. Returns as a redirect to the signed url.

get
Path parameters
preview_idstring · uuidRequired
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

nameany ofOptional

The name of the preview to get

stringOptional
or
nullOptional
authorizationany ofOptional

The authorization token to use to fetch the preview

stringOptional
or
nullOptional
Header parameters
collection-idany ofOptional
string · uuidOptional
or
nullOptional
Responses
200

Successful Response

application/json
Responseany
get
GET /previews/url/{preview_id}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: 
Accept: */*

No content

The preview signed download URL redirects to this route

get
Query parameters
pathstringRequired

The path to the preview or proxy to download

nameany ofOptional

The name of the preview to get

stringOptional
or
nullOptional
Responses
200

Successful Response

application/json
Responseany
get
GET /previews/download?path=text HTTP/1.1
Host: 
Accept: */*

No content

The preview signed upload URL redirects to this route

post

Upload a file to the local proxy manager for offline demo purposes.

Query parameters
pathstringRequired

The path to write the proxy to

Body
filestring · binaryRequired
Responses
200

Successful Response

application/json
Responseany
post
POST /previews/upload?path=text HTTP/1.1
Host: 
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}

No content