Sources

Create a new source

Create a new source from a media URL. The source will be analyzed to extract metadata and generate a thumbnail. The source will be automatically deleted after the data retention period.

POST
/api/sources

Authorization

Authorization
header
string
required

Enter the project access token with the Bearer prefix, e.g. "Bearer project_access_token"

Bodyapplication/json

Source creation parameters

url
string
http-url
required

Url is the URL of the source, which must be a valid HTTP URL.

Examples:
https://example.com/video.mp4
metadata
object

Metadata allows for additional information to be attached to the source, with a maximum size of 2048 bytes.

Examples:
map[key:value key2:value2]
storage
object

Storage input configuration. Provide this or url, never both.

Responses

application/json
data
object
required

Data contains the response object

status
"success"
string
required

Status indicates the response status "success"

Created