originals

Create an original

Changed on

Creates an original resource for an additional file for the media, such as alternate audio tracks

post/v2/sites/{site_id}/media/{media_id}/originals/

Request

  • Base URL
    https://api.jwplayer.com
  • URL
    https://api.jwplayer.com/v2/sites/{site_id}/media/{media_id}/originals/
  • Auth
    API key in header Authorization

Path parameters

site_idstring required

Unique identifier for a resource

Example:Ny05CEfj

Unique alphanumeric ID of the site

media_idstring required

Unique identifier for a resource

Example:Ny05CEfj

Unique alphanumeric ID of the media

Request body

Response

Object successfully created

OR

Example response

{
  "schema": "https://schema.jwplayer.com/types/thumbnail.json",
  "id": "Ny05CEfj",
  "created": "2019-09-25T15:29:11.042095+00:00",
  "last_modified": "2019-09-25T15:29:11.042095+00:00",
  "container_format": "mp4"
}

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status