advertising

List advertising schedules

Changed on

List advertising schedules

get/v2/sites/{site_id}/advertising/schedules/

Request

  • Base URL
    https://api.jwplayer.com
  • URL
    https://api.jwplayer.com/v2/sites/{site_id}/advertising/schedules/
  • Auth
    API key in header Authorization

Path parameters

site_idstring required

Unique identifier for a resource

Example:Ny05CEfj

Unique alphanumeric ID of the site

Query parameters

pageinteger

Sets the page number for pagination. First page is 1.

page_lengthinteger

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

qstring

Allows for querying results

Example: id:+bIAkzJDs

Advertising schedules can be queried by the following attributes:

  • id
sortstring

Allows for sorting results

Example: sort=created:dsc

Sort order can be one of asc, dsc

Advertising schedules can be sorted by the following attributes:

  • client
  • created
  • last_modified
  • name

Response

Resources successfully retrieved

pageinteger

Offset for returned resources

page_lengthinteger

Maximum number of resources to return

totalinteger

Number of resources available before pagination

Changes