ssai
Create a media timings set
Changed onCreate a set of ad timings for a media
post/v2/sites/{site_id}/media/{media_id}/timings/
Request
- Base URLhttps://api.jwplayer.com
- URLhttps://api.jwplayer.com/v2/sites/{site_id}/media/{media_id}/timings/
- AuthAPI key in header Authorization
Path parameters
site_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the site
media_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the media
Request body
Example request
{
"metadata": {
"ad_timings": {
"timings": [
{
"timecode": "00:00:05.345"
}
]
}
}
}Response
Request to create timing successful
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",
"metadata": {
"ad_timings": {
"timings": [
{
"timecode": "00:00:05.345"
}
]
}
}
}Changes
- warning
changed the pattern of the request property
////from^(?!00:00:00:000)[0-2][0-3]:[0-5][0-9]:[0-5][0-9].[0-9]{3}$to^(?!00:00:00\.000)([01]\d|2[0-3]):([0-5]\d):([0-5]\d)\.(\d{3})$ - info
the
////////response's property pattern was changed from^(?!00:00:00:000)[0-2][0-3]:[0-5][0-9]:[0-5][0-9].[0-9]{3}$to^(?!00:00:00\.000)([01]\d|2[0-3]):([0-5]\d):([0-5]\d)\.(\d{3})$for the status
- warning