v1

latestOpenAPI 3.1.12026-07-2410095.4 KB
Upload or Import Media

Upload or Import Media

Endpoint to upload media files from a local system or import from a web URL.

  • Use multipart/form-data with a file parameter to upload from local system
  • Use application/x-www-form-urlencoded with a url parameter to import from web URL
post/

Response

Successfully uploaded or imported.

idinteger

A unique numeric identifier for the media within the system.

namestring

The display name of the media.

typestring

A string representing what type of media this is.

createdstring date-time

The date when the media was originally uploaded.

updatedstring date-time

The date when the media was last changed.

durationnumber

Specifies the length (in seconds) for audio and video files.

hashed_idstring

A unique alphanumeric identifier for this media.

progressnumber

A floating point value between 0 and 1 that indicates the progress of the processing for this file.