Schedule API documentation version v1
https://client-api.{environment}/api/schedule/{version}
- environment: required(one of magine.com, tvoli.com - default: magine.com)
- version: required(v1)
deprecated: Use `/broadcasts/live?livestreams={livestreams}` Get live broadcast
This route supports retreiving the currently playing broadcast by an livestream id (e.g. channel). An offset can be supplied for retreiving earlier broadcasts.
The result will be a broadcast.
get /livestreams/{livestreamId}/live
The result will be a broadcast.
URI Parameters
- livestreamId: required(string)
Example:
6b9d09d5-981c-4973-8f2b-b9878f587198
Headers
- Magine-AccessToken: required(string)
A token that identifies a specific partner
Example:
25b70ae1-d2bd-4ae7-85f4-62026580c866
Query Parameters
- offset: (integer - default: 0 - minimum: -86400 - maximum: 0)
A negative offset from the current live point. Offset is applied to the servers time.
HTTP status code 200
Success
Body
Media type: application/json
Type: object
Properties- current: required(object)
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{ "id": "07ec632f-b49e-478f-a353-e385adfa07c7", "title": "Fången på främmande mark", "description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.", "start": 1477647900, "stop": 1477651200, "liveAvailable": true, "catchupInterval": { "from": 1477651200, "to": 1478252700 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }
- next: (object)
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{ "id": "07ec632f-b49e-478f-a353-e385adfa07c7", "title": "Fången på främmande mark", "description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.", "start": 1477647900, "stop": 1477651200, "liveAvailable": true, "catchupInterval": { "from": 1477651200, "to": 1478252700 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }
- previous: (object)
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{ "id": "07ec632f-b49e-478f-a353-e385adfa07c7", "title": "Fången på främmande mark", "description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.", "start": 1477647900, "stop": 1477651200, "liveAvailable": true, "catchupInterval": { "from": 1477651200, "to": 1478252700 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }
Examples:
only-current:
{
"current": {
"id": "83afc57d-ed88-4c86-ae46-c61579d139a7",
"title": "Big fix alaska",
"description": "Verkstaden får ett nödrop från en båt som har kört fast på Yukonfloden. ...",
"start": 1478867700,
"stop": 1478871000,
"liveAvailable": true,
"catchupInterval": {
"from": 1478871000,
"to": 1479472500
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
}
}
}
with-previous:
{
"current": {
"id": "83afc57d-ed88-4c86-ae46-c61579d139a7",
"title": "Big fix alaska",
"description": "Verkstaden får ett nödrop från en båt som har kört fast på Yukonfloden. ...",
"start": 1478867700,
"stop": 1478871000,
"liveAvailable": false,
"catchupInterval": {
"from": 1478871000,
"to": 1479472500
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
}
},
"previous": {
"id" : "365f1e50-691c-4c51-a51c-f05367213e22",
"title" : "Skavlan",
"description" : "I veckans program träffar vi en av världens bäst säljande artister ...",
"start" : 1479126600,
"stop" : 1479130200,
"liveAvailable": true,
"catchupInterval" : {
"to" : 1479731400,
"from" : 1479130200
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
}
}
}
with-next-and-previous:
{
"current": {
"id": "83afc57d-ed88-4c86-ae46-c61579d139a7",
"title": "Big fix alaska",
"description": "Verkstaden får ett nödrop från en båt som har kört fast på Yukonfloden. ...",
"start": 1478867700,
"stop": 1478871000,
"liveAvailable": false,
"catchupInterval": {
"from": 1478871000,
"to": 1479472500
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
}
},
"next": {
"id" : "1e9bad50-82f6-41fa-9b07-6cbf4c9a35a5",
"title" : "Klockorna i Gamla stan",
"description" : "Kalle Magnus Berg är en oerhört snäll utmätningsman i Gamla stan i Stockholm. ...",
"start" : 1479130200,
"stop" : 1479136200,
"liveAvailable": true,
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
}
},
"previous": {
"id" : "365f1e50-691c-4c51-a51c-f05367213e22",
"title" : "Skavlan",
"description" : "I veckans program träffar vi en av världens bäst säljande artister ...",
"start" : 1479126600,
"stop" : 1479130200,
"liveAvailable": true,
"catchupInterval" : {
"to" : 1479731400,
"from" : 1479130200
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
}
}
}
HTTP status code 400
Bad request. The offset is invalid.
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
HTTP status code 404
Not found. The livestream id could not be found.
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
deprecated: Use `/broadcasts/day/{date}?livestreams={livestreams}` Get all broadcasts for a day
This route supports retreiving all the broadcasts for the current tv date by a livestream id (e.g. channel).
The result will be an array of broadcasts
get /livestreams/{livestreamId}/day/{date}
The result will be an array of broadcasts
URI Parameters
- livestreamId: required(string)
Example:
6b9d09d5-981c-4973-8f2b-b9878f587198
- date: required(date-only)
Example:
2016-10-10
Headers
- Magine-AccessToken: required(string)
A token that identifies a specific partner
Example:
25b70ae1-d2bd-4ae7-85f4-62026580c866
HTTP status code 200
Success
Body
Media type: application/json
Type: array of object
Items: Broadcast
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
HTTP status code 400
Bad request
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
HTTP status code 404
Not found
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
/broadcasts/{broadcastId}
Some requests require authentication.
get /broadcasts/{broadcastId}
Some requests require authentication.
URI Parameters
- broadcastId: required(string)
Example:
6b9d09d5-981c-4973-8f2b-b9878f587198
Headers
- Magine-AccessToken: required(string)
A token that identifies a specific partner
Example:
25b70ae1-d2bd-4ae7-85f4-62026580c866
HTTP status code 200
Success
Body
Media type: application/json
Type: object
Properties- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{
"id": "07ec632f-b49e-478f-a353-e385adfa07c7",
"title": "Fången på främmande mark",
"description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.",
"start": 1477647900,
"stop": 1477651200,
"liveAvailable": true,
"catchupInterval": {
"from": 1477651200,
"to": 1478252700
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
}
}
HTTP status code 400
Bad request
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
HTTP status code 404
Not found
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
/broadcasts?broadcasts={broadcasts}
Some requests require authentication.
get /broadcasts?broadcasts={broadcasts}
Some requests require authentication.
URI Parameters
- broadcasts: required(string)
Example:
de940545-e3cd-4d99-b199-5138e81ee76a,6969f931-0ae9-45a8-80c6-dc0e9b0adf82
Headers
- Magine-AccessToken: required(string)
A token that identifies a specific partner
Example:
25b70ae1-d2bd-4ae7-85f4-62026580c866
HTTP status code 200
Success
Body
Media type: application/json
Type: object
Properties- /^.+$/: required(object)
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{ "id": "07ec632f-b49e-478f-a353-e385adfa07c7", "title": "Fången på främmande mark", "description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.", "start": 1477647900, "stop": 1477651200, "liveAvailable": true, "catchupInterval": { "from": 1477651200, "to": 1478252700 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }
Example:
{
"de940545-e3cd-4d99-b199-5138e81ee76a": {
"id": "de940545-e3cd-4d99-b199-5138e81ee76a",
"title": "Familjer på äventyr",
"description": "För familjen i Spanien uppstår problem när pappa Pauls jobb inte fungerar som det ska. De tre bröderna i Sydafrika packar jeepen för att surfa och umgås med vänner och lillebror Wilder får följa med på nåder. På Grönland gnager frågan fortfarande i föräldrarna om de gjort rätt mot sina barn genom att flytta? Och på seglingen utmed Afrikas nordvästra kust väntar en stor överraskning för dottern Matilda som har svår hemlängtan.",
"start": 1486549800,
"stop": 1486553400,
"streamStart": 1486549800,
"streamStop": 1486553400,
"streamId": "135",
"liveAvailable": true,
"catchupInterval": {
"from": 1486553400,
"to": 1487154600
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/135/familjer_p_ventyr.jpg",
"embeddedText": false
}
]
},
"6969f931-0ae9-45a8-80c6-dc0e9b0adf82": {
"id": "6969f931-0ae9-45a8-80c6-dc0e9b0adf82",
"title": "Samtidigt i Hofors",
"description": "Det är äntligen dags för festivalen och Katarina kan andas ut. Självaste Thomas Di Leva är det stora dragplåstret. Bonden John får inviga kalaset och han sparar inte på svartkrutet om man säger så. I sin besvikelse över att inte få uppträda på festivalen genomför Micke en helt egen konsert. En inte rakt igenom familjevänlig sådan. Det är också nu Sebbe får dra på sig klackskorna för att krydda sin show och världen får äntligen bekanta sig med Hofors-bakelsen.",
"start": 1486553400,
"stop": 1486557000,
"streamStart": 1486553400,
"streamStop": 1486557000,
"streamId": "135",
"liveAvailable": false,
"catchupInterval": {
"from": 1486557000,
"to": 1487158200
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/135/samtidigt_i_hofors.jpg",
"embeddedText": false
}
]
}
}
HTTP status code 400
Bad request
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
/broadcasts/day/{date}?livestreams={livestreams}
Some requests require authentication.
get /broadcasts/day/{date}?livestreams={livestreams}
Some requests require authentication.
URI Parameters
- date: required(date-only)
Example:
2016-10-10
- livestreams: required(string)
Example:
6b9d09d5-981c-4973-8f2b-b9878f587198,7b9d09d5-981c-4973-8f2b-b9878f587198
Headers
- Magine-AccessToken: required(string)
A token that identifies a specific partner
Example:
25b70ae1-d2bd-4ae7-85f4-62026580c866
HTTP status code 200
Success
Body
Media type: application/json
Type: object
Properties- /^.+$/: required(array of Broadcast)
Items: Broadcast
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{ "id": "07ec632f-b49e-478f-a353-e385adfa07c7", "title": "Fången på främmande mark", "description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.", "start": 1477647900, "stop": 1477651200, "liveAvailable": true, "catchupInterval": { "from": 1477651200, "to": 1478252700 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }
Example:
{
"135": [
{
"id": "57820203-e66e-4f59-8db7-926836e133ca",
"title": "SVT Nyheter",
"start": 1479099600,
"stop": 1479099900,
"liveAvailable": true,
"catchupInterval": {
"from": 1479099900,
"to": 1479704400
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/135/svt_nyheter.jpg",
"embeddedText": false
}
]
},
{
"id": "fcc6aa65-3698-4463-a6a1-415d1154f24b",
"title": "Line of duty",
"description": "Kriminalinspektör Steve Arnott och polisens anti-korruptionsenhet AC-12 återvänder med en ny utredning. Inspektör Daniel Waldron och hans tungt beväpnade insatsstyrka skjuter ihjäl en förhärdad brottsling, men det är något som inte stämmer med gruppens version av händelseförloppet. Försöker de dölja ett kallblodigt mord? .",
"start": 1479165000,
"stop": 1479168600,
"liveAvailable": true,
"catchupInterval": {
"from": 1479168600,
"to": 1479769800
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/135/line_of_duty.jpg",
"embeddedText": false
}
]
}
],
"136": [
{
"id": "b1cb4ea5-9f7b-404d-b6f9-ae8daf35d4c2",
"title": "24 Vision",
"start": 1479166500,
"stop": 1479168000,
"liveAvailable": false,
"catchupInterval": {
"from": 1479168000,
"to": 1479771300
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/136/24_vision.jpg",
"embeddedText": false
}
]
}
]
}
HTTP status code 400
Bad request
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
HTTP status code 404
Not found
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
/broadcasts/live?livestreams={livestreams}
Some requests require authentication.
get /broadcasts/live?livestreams={livestreams}
Some requests require authentication.
URI Parameters
- livestreams: required(string)
Example:
6b9d09d5-981c-4973-8f2b-b9878f587198,7b9d09d5-981c-4973-8f2b-b9878f587198
- offset: (integer - default: 0 - minimum: -86400 - maximum: 0)
A negative offset from the current live point. Offset is applied to the servers time.
Headers
- Magine-AccessToken: required(string)
A token that identifies a specific partner
Example:
25b70ae1-d2bd-4ae7-85f4-62026580c866
HTTP status code 200
Success
Body
Media type: application/json
Type: object
Properties- /^.+$/: required(object)
- current: required(object)
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{ "id": "07ec632f-b49e-478f-a353-e385adfa07c7", "title": "Fången på främmande mark", "description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.", "start": 1477647900, "stop": 1477651200, "liveAvailable": true, "catchupInterval": { "from": 1477651200, "to": 1478252700 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }
- next: (object)
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{ "id": "07ec632f-b49e-478f-a353-e385adfa07c7", "title": "Fången på främmande mark", "description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.", "start": 1477647900, "stop": 1477651200, "liveAvailable": true, "catchupInterval": { "from": 1477651200, "to": 1478252700 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }
- previous: (object)
- id: required(string)
- title: required(string)
- description: (string)
- start: required(integer)
- stop: required(integer)
- liveAvailable: required(boolean)
- catchupInterval: (object)
- from: required(integer)
- to: required(integer)
Example:
{ "from": 1477651200, "to": 1478252700 }
- extendedRights: required(object)
- images: (array of Image)
Items: Image
- type: required(string)
- default: required(boolean)
- filename: required(string)
- embeddedText: required(boolean)
Example:
{ "id": "07ec632f-b49e-478f-a353-e385adfa07c7", "title": "Fången på främmande mark", "description": "Kokainsmugglande Duane Wollum höll nästan de lättförtjänta pengarna i handen när en säkerhetskontroll avslöjade att han bar på ett paket.", "start": 1477647900, "stop": 1477651200, "liveAvailable": true, "catchupInterval": { "from": 1477651200, "to": 1478252700 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }
Examples:
only-current:
{ "current": { "id": "83afc57d-ed88-4c86-ae46-c61579d139a7", "title": "Big fix alaska", "description": "Verkstaden får ett nödrop från en båt som har kört fast på Yukonfloden. ...", "start": 1478867700, "stop": 1478871000, "liveAvailable": true, "catchupInterval": { "from": 1478871000, "to": 1479472500 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } } }
with-previous:
{ "current": { "id": "83afc57d-ed88-4c86-ae46-c61579d139a7", "title": "Big fix alaska", "description": "Verkstaden får ett nödrop från en båt som har kört fast på Yukonfloden. ...", "start": 1478867700, "stop": 1478871000, "liveAvailable": false, "catchupInterval": { "from": 1478871000, "to": 1479472500 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }, "previous": { "id" : "365f1e50-691c-4c51-a51c-f05367213e22", "title" : "Skavlan", "description" : "I veckans program träffar vi en av världens bäst säljande artister ...", "start" : 1479126600, "stop" : 1479130200, "liveAvailable": true, "catchupInterval" : { "to" : 1479731400, "from" : 1479130200 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } } }
with-next-and-previous:
{ "current": { "id": "83afc57d-ed88-4c86-ae46-c61579d139a7", "title": "Big fix alaska", "description": "Verkstaden får ett nödrop från en båt som har kört fast på Yukonfloden. ...", "start": 1478867700, "stop": 1478871000, "liveAvailable": false, "catchupInterval": { "from": 1478871000, "to": 1479472500 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }, "next": { "id" : "1e9bad50-82f6-41fa-9b07-6cbf4c9a35a5", "title" : "Klockorna i Gamla stan", "description" : "Kalle Magnus Berg är en oerhört snäll utmätningsman i Gamla stan i Stockholm. ...", "start" : 1479130200, "stop" : 1479136200, "liveAvailable": true, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } }, "previous": { "id" : "365f1e50-691c-4c51-a51c-f05367213e22", "title" : "Skavlan", "description" : "I veckans program träffar vi en av världens bäst säljande artister ...", "start" : 1479126600, "stop" : 1479130200, "liveAvailable": true, "catchupInterval" : { "to" : 1479731400, "from" : 1479130200 }, "extendedRights": { "pause": false, "rewind": false, "fastForward": false } } }
- current: required(object)
Example:
{
"135": {
"current": {
"id": "c4cbe54f-9f4d-4648-b602-a725fdc7fcb2",
"title": "Dox: Palio",
"description": "Det har kallats \"Rocky på hästryggen\", vilket är en perfekt beskrivning av två rivalers kamp om att vinna Palio - en anrik hästkapplöpning som lockar tusentals människor till den italienska staden Siena varje år. Med dramatisk berättarstil och imponerade foto är Cosima Spenders mäktiga och prisade dokumentärfilm en klass för sig.",
"start": 1479472800,
"stop": 1479478200,
"liveAvailable": true,
"catchupInterval": {
"from": 1479478200,
"to": 1480077600
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/135/dox_palio.jpg",
"embeddedText": false
}
]
},
"next": {
"id": "2431d3ae-c872-40fc-bce3-bc9306b1b949",
"title": "Opinion live",
"description": "Julvärden Sanna Nielsen om att hånas för sin klädsel i sociala medier. Försämrar regeringen stödet för funktionshindrade? Bengt Westerberg, Lars Stjernkvist debatterar. Ska barn till föräldralediga få gå på förskola på heltid? Debatt mellan förskolelärare och föräldrar. Programledare Belinda Olsson.",
"start": 1479478200,
"stop": 1479480900,
"liveAvailable": true,
"catchupInterval": {
"from": 1479480900,
"to": 1480083000
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/135/opinion_live.jpg",
"embeddedText": false
}
]
},
"previous": {
"id": "cfdcd6bc-bf25-4e74-b512-ec04f66f8eb4",
"title": "Stella Maris",
"description": "I en italiensk liten kustby samlas byborna en gång om året på stranden för att se när den ljussatta helgonstatyn Stella Maris flyter in från havet. Några dömda fångar ska försöka simma ut och röra vid statyn. Om någon lyckas blir han benådad.",
"start": 1479471300,
"stop": 1479472800,
"liveAvailable": false,
"catchupInterval": {
"from": 1479472800,
"to": 1480076100
},
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/135/stella_maris.jpg",
"embeddedText": false
}
]
}
},
"10198": {
"current": {
"id": "c9fafe04-66c8-4fbd-aac6-ef6f82b6d8b1",
"title": "Cityakuten",
"description": "En lugn Thanksgiving på sjukhuset blir mer spännande när Dr. Lockhart dyker upp som läkare i en helikopter. (Säsong 13 avsnitt 9)",
"start": 1479476100,
"stop": 1479479400,
"liveAvailable": true,
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/10198/cityakuten.jpg",
"embeddedText": false
}
]
},
"next": {
"id": "224d95ac-0f2c-4751-b8a1-c6e429eef648",
"title": "The Investigators",
"start": 1479479400,
"stop": 1479483000,
"liveAvailable": true,
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/10198/the_investigators.jpg",
"embeddedText": false
}
]
},
"previous": {
"id": "2401bf70-05f8-4011-990a-4456b9bd5562",
"title": "The Investigators",
"start": 1479472800,
"stop": 1479476100,
"liveAvailable": true,
"extendedRights": {
"pause": false,
"rewind": false,
"fastForward": false
},
"images": [
{
"type": "three-four",
"default": true,
"filename": "http://images.tvoli.com/programs/10198/the_investigators.jpg",
"embeddedText": false
}
]
}
}
}
HTTP status code 400
Bad request
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}
HTTP status code 404
Not found
Body
Media type: application/json
Type: object
Properties- error: required(object)
- message: required(string)
- user_message: required(string)
Example:
{
"error": {
"message": "No data could be found.",
"user_message": "No data could be found."
}
}