v1

latestOpenAPI 3.1.02026-07-24251250397.8 KB
series

Create a series

post/v2/sites/{site_id}/series/

Path parameters

site_idstring required

Unique identifier for a resource

Example:Ny05CEfj

Unique alphanumeric ID of the site

Request body

Example request

{
  "relationships": {
    "media": [
      {
        "id": "Ny05CEfj"
      }
    ]
  }
}

Response

Resource successfully created

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.

episode_countnumber

Number of episodes associated with the series

season_countnumber

Number of seasons associated with the series

total_durationnumber

Total runtime of the series in minutes

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",
  "relationships": {
    "media": [
      {
        "id": "Ny05CEfj"
      }
    ]
  }
}