Reupload a media

Initiates a reupload of a media, replacing its file or URL and optionally changing its hosting_type (limit of 10,000 reuploads per media). Reuploads might affect audio and text tracks associated with a media. Learn more here

Path Params
string
required
length between 8 and 8
^[A-Za-z0-9]+$

Unique alphanumeric ID of the site

string
required
length between 8 and 8
^[A-Za-z0-9]+$

Unique alphanumeric ID of the media

Body Params
string
enum

Converts the media to a different hosting type. Uses the same upload requirements as creating a media. If omitted, the media keeps its current hosting type.

Allowed:
upload
object

Metadata describing the upload method and information required to process the upload

string

For reuploads to a hosting_type of renditions, the ID of the transcoding config used to create renditions from the new source file. If omitted, the site's default transcoding config is used. Not supported for other hosting types.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
© 2007- Longtail Ad Solutions, Inc.