Note: The version 2 API does not authenticate using a Connect user’s username and password using HTTP BASIC AUTH. Instead you create a client application using Connect’s web user interface. The client application is issued an ACCESS KEY and SECRET PASSPHRASE. These values must be passed in custom header values on every request.
URLs
Method | URL | Content Type |
---|---|---|
GET | https://connect.telvue.com/api/v2/series |
application/json |
GET | https://connect.telvue.com/api/v2/series/:id |
application/json |
Authentication
Type | Credentials | Required |
---|---|---|
Connect Custom | Connect Issued Access Key and Secret Passphrase |
Examples
Using your favorite HTTP tool or library, make a GET request to https://connect.telvue.com/api/v2/series/:id
replace :id with the id of the Connect Series being requested and include Access Key and Secret Passphrase for the Client Application from which you are making the request.
cURL
The popular cURL tool comes bundled with any Linux, Mac, or UNIX operating system, and there are Windows equivalents.
Example cURL GET Series Index Request:
curl -k --header "CONNECT-ACCESS-KEY: mykey"
--header "CONNECT-SECRET-PASSPHRASE: mysecretpassphrase"
https://connect.telvue.com/api/v2/series.json
Example JSON Response:
{
"series":
[
{
"id":161,
"organization_id":13,
"user_id":24,
"name":"VOD Series",
"description":"",
"duration":3600,
"thumb_medium_id":32262,
"assignee_user_id":null,
"episodes_count":2,
"channel_id":null,
"syndicated":false,
"syndicated_at":null,
"thumbnail_large":"https://connect.telvue.com/alternate_assets/ae9b0680-0b93-0133-e301-52540084dd42/d1027a2e-7f46-4410-a8ec-e5f54cdf42f3/framegrab/framegrab_3add329d-0710-4b36-8a34-922510e91bfb.jpg",
"thumbnail_medium":"https://connect.telvue.com/alternate_assets/ae9b0680-0b93-0133-e301-52540084dd42/d1027a2e-7f46-4410-a8ec-e5f54cdf42f3/vod_thumb_hd/vod_thumb_hd_89895332-0f21-4e87-9f0d-2774fc797ceb.jpg",
"thumbnail_small":"https://connect.telvue.com/alternate_assets/ae9b0680-0b93-0133-e301-52540084dd42/d1027a2e-7f46-4410-a8ec-e5f54cdf42f3/vod_thumb_sd/vod_thumb_sd_f2b07f71-08ba-4876-b0df-821ebdf6f908.jpg",
"thumbnail_tiny":"https://connect.telvue.com/alternate_assets/ae9b0680-0b93-0133-e301-52540084dd42/d1027a2e-7f46-4410-a8ec-e5f54cdf42f3/thumb/thumb_9ce9a440-7a9a-43af-822c-f39eb52760c8.jpg",
"playables_count":2
}
]
}
Example cURL GET Series Request:
curl -k --header "CONNECT-ACCESS-KEY: mykey"
--header "CONNECT-SECRET-PASSPHRASE: mysecretpassphrase"
--header "Content-Type: application/json"
https://connect.telvue.com/api/v2/series/161.json
Example JSON Response:
{
"series":
{
"id":161,
"organization_id":13,
"user_id":24,
"name":"VOD Series",
"description":"",
"duration":3600,
"thumb_medium_id":32262,
"assignee_user_id":null,
"episodes_count":2,
"channel_id":null,
"syndicated":false,
"syndicated_at":null,
"thumbnail_large":"https://connect.telvue.com/alternate_assets/ae9b0680-0b93-0133-e301-52540084dd42/d1027a2e-7f46-4410-a8ec-e5f54cdf42f3/framegrab/framegrab_3add329d-0710-4b36-8a34-922510e91bfb.jpg",
"thumbnail_medium":"https://connect.telvue.com/alternate_assets/ae9b0680-0b93-0133-e301-52540084dd42/d1027a2e-7f46-4410-a8ec-e5f54cdf42f3/vod_thumb_hd/vod_thumb_hd_89895332-0f21-4e87-9f0d-2774fc797ceb.jpg",
"thumbnail_small":"https://connect.telvue.com/alternate_assets/ae9b0680-0b93-0133-e301-52540084dd42/d1027a2e-7f46-4410-a8ec-e5f54cdf42f3/vod_thumb_sd/vod_thumb_sd_f2b07f71-08ba-4876-b0df-821ebdf6f908.jpg",
"thumbnail_tiny":"https://connect.telvue.com/alternate_assets/ae9b0680-0b93-0133-e301-52540084dd42/d1027a2e-7f46-4410-a8ec-e5f54cdf42f3/thumb/thumb_9ce9a440-7a9a-43af-822c-f39eb52760c8.jpg",
"playables_count":2
}
}