POST
/
api
/
library
/
v1
/
media
/
link

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Media link

Minimum length: 1
kind
enum<string> | null

Kind of media uploaded

Available options:
video,
audio,
image
name
string | null

Media name

Response

200 - application/json
created_at
string
required

Date and time of media creation

id
string
required

ID of media uploaded

kind
enum<string>
required

Kind of media uploaded

Available options:
video,
audio,
image
meta
object | null
required
mime_type
string
required

Media mime type

path
string
required

Path to the media

status
enum<string>
required

Status of media uploaded

Available options:
processing,
ready,
failed
updated_at
string
required

Date and time of the last media update

user_id
string
required

Author ID

name
string | null

Name of media uploaded

preview
object | null
url
string | null

Media url

Minimum length: 1