Skip to main content
POST
Import asset

Authorizations

Authorization
string
header
required

An API key from the dashboard, such as sk_live_…. It acts in its workspace.

Body

application/json
name
string
required

The asset's path in the workspace, such as launch/intro.mp4.

url
string
required

An http(s) URL on the public internet that Rendermate downloads the file from, up to 5 GB.

content_type
string | null

Its content type; the server's, else guessed from the name's extension, when absent.

overwrite
boolean
default:false

Replace an asset already at this name. Without it, a name that's taken is refused with asset.name_taken, and so is one taken while the file downloads.

project_id
string | null

The project it belongs to; the workspace's default project when absent.

Response

Accepted

created_at
string
required

RFC 3339.

id
string
required

imp_….

name
string
required

The asset it makes.

status
string
required

running, succeeded or failed.

updated_at
string
required

RFC 3339: when its status last changed.

url
string
required

Where it downloads the file from.

asset
object | null

The asset, once it has succeeded.

error
string | null

Why it failed.