v1

latestOpenAPI 3.1.02026-07-24251250397.8 KB
originals

Get an original

Retrieves an original resource, which represents the primary or secondary files of a hosted media, by ID

get/v2/sites/{site_id}/media/{media_id}/originals/{original_id}/

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

original_idstring required

Unique identifier for a resource

Example:Ny05CEfj

Unique identifier for an original resource

Response

Original successfully retrieved

schemastring
idstring

Unique identifier for a resource

createdstring

Date and time at which the resource was created

last_modifiedstring

Date and time at which the resource was most recently modified

typestring

Name of the type of resource.

relationshipsobject

Ancilliary resources associated to the primary resource being read

status'created' | 'failed' | 'processing' | 'ready' | 'updating'

Original status

error_messagestring

Human-readable message explaining an issue uploading or processing an original

This property is only displayed when "status": "failed".

sizestring

Size of the original in bytes

container_formatstring

File format containing the media compressed by means of standardized audio/video codecs

md5string

MD5 hash of the asset, stored as 32-character hexadecimal string

original_type'primary' | 'secondary'

Identifies if the uploaded file is a video file (primary) or an alternate audio track file (secondary)

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"
}