List media renditions
Changed onRequest
- Base URLhttps://api.jwplayer.com
- URLhttps://api.jwplayer.com/v2/sites/{site_id}/media/{media_id}/media_renditions/
- AuthAPI key in header Authorization
Path parameters
Unique identifier for a resource
Unique alphanumeric ID of the site
Unique identifier for a resource
Unique alphanumeric ID of the media
Query parameters
Sets the page number for pagination. First page is 1.
Sets the page length (number of items you get in the response) for pagination
If page_length is not specified, the default value will be set.
Default: 10
Allows for querying results
Example: id:+zKqzcasd
Media renditions can be queried by the following attributes:
- id
Allows for sorting results
Example: sort=created:dsc
Sort order can be one of asc, dsc
Media renditions can be sorted by the following attributes:
- created
Response
Resources successfully retrieved
Example response
{
"page": 1,
"page_length": 10,
"total": 1,
"media_renditions": [
{
"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",
"relationships": {
"media_rendition_template": {
"id": "Ny05CEfj"
}
},
"height": 480,
"width": 720,
"status": "ready"
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info