SSAI

List media timings

Returns the ad timing sets for a media item, without going through an ad config

The response body is the same as the Management API List media timings sets response for the same media. A media item with no timings returns an empty timings array.

get/v2/sites/{site_id}/media/{media_id}/timings/

Request

  • Base URL
    https://cdn.jwplayer.com
  • URL
    https://cdn.jwplayer.com/v2/sites/{site_id}/media/{media_id}/timings/
  • Auth
    none declared

Path parameters

site_idstring required

Property or site ID that owns a piece of media

media_idstring required

Eight-character, alphanumeric ID that uniquely identifies the media

This can be found on the video detail page in the dashboard.

Response

The media's timing sets

pageinteger

Offset for returned resources

page_lengthinteger

Maximum number of resources to return

totalinteger

Number of resources available before pagination

Example response

{
  "page": 1,
  "page_length": 10,
  "total": 1,
  "timings": [
    {
      "schema": "https://schema.jwplayer.com/types/timing.json",
      "id": "Ny05CEfj",
      "created": "2019-09-25T15:29:11.042095+00:00",
      "last_modified": "2019-09-25T15:29:11.042095+00:00",
      "type": "timing",
      "metadata": {
        "media_id": "Ny05CEfj",
        "ad_timings": {
          "timings": [
            {
              "timecode": "00:00:05.345"
            }
          ]
        }
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.