v1
latestOpenAPI 3.1.02026-07-24251250397.8 KBseries
List seasons
get/v2/sites/{site_id}/series/{series_id}/seasons/
Path parameters
site_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the site
series_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique identifier for a series resource
Query parameters
qstring
Allows for querying results
Seasons can be queried by the following attributes:
- id
Example: id:+abcd1234
sortstring
Allows for sorting results
The sort order can be one of the following: asc, dsc
Seasons can be sorted by the following attributes:
- created
- number
Example: sort=created:dsc
Response
Resources successfully retrieved
Example response
{
"page": 1,
"page_length": 10,
"total": 1,
"seasons": [
{
"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": [
{
"id": "Ny05CEfj"
}
]
}
}
]
}