/live/list
List of live events
Example request:
GET /live/list?max_results=2&api_key=key-XXXXXXXXXXXXX HTTP/1.1
Host: api.dvidshub.net
Accept-encoding: gzip, deflate
Accept: application/json, text/javascript
Referer: https://api.dvidshub.net
Example response:
HTTP/1.1 200 OK
Content-type: application/json; charset=utf-8
Server: Apache
Access-control-allow-origin: *
Content-encoding: gzip
Content-length: 527
Date: Sat, 04 Feb 2023 19:15:37 GMT
Connection: keep-alive
Vary: Accept-Encoding
{
"results":[
{
"type":"live_webcasts",
"id":"31080",
"title":"Brigadier General Mastalir Press Conference",
"description":"Brigadier General Mastalir Press Conference.",
"hashtag":"",
"begin":"2023-02-06T23:45:00+00:00",
"end":"2023-02-07T00:55:00+00:00",
"thumbnail":{
"url":"https:\/\/cdn.dvidshub.net\/media\/thumbs\/webcast\/images\/dod_default\/122x92_q95.jpg",
"width":122,
"height":92
},
"url":"https:\/\/www.dvidshub.net\/webcast\/31080",
"hls_url":"https:\/\/d1b55jk78a7el0.cloudfront.net\/out\/v1\/1d4a1a50b52b4333894d00ce0c4c7ca5\/index.m3u8",
"unit_id":"774"
},
{
"type":"live_webcasts",
"id":"31025",
"title":"Top Recruiter Recognition Ceremony",
"description":"Hosted by HON Christine Wormuth, Secretary of the U.S. Army",
"hashtag":"",
"begin":"2023-02-09T15:50:00+00:00",
"end":"2023-02-09T17:00:00+00:00",
"thumbnail":{
"url":"https:\/\/cdn.dvidshub.net\/media\/thumbs\/webcast\/images\/dod_default\/122x92_q95.jpg",
"width":122,
"height":92
},
"url":"https:\/\/www.dvidshub.net\/webcast\/31025",
"hls_url":"https:\/\/d7e306zdqcax0.cloudfront.net\/out\/v1\/f1fbcdcc778649108826fff48382c641\/index.m3u8",
"unit_id":"1614"
}
],
"current_time":"2023-02-04T19:15:37+00:00"
}
/live/get
Get additional details about live event including links to feed(s)
Example request:
GET /live/get?id=3852&api_key=key-XXXXXXXXXXXXX HTTP/1.1
Host: api.dvidshub.net
Accept-encoding: gzip, deflate
Accept: application/json, text/javascript
Referer: https://api.dvidshub.net
Example response:
HTTP/1.1 200 OK
Content-type: application/json; charset=utf-8
Server: Apache
Access-control-allow-origin: *
Content-encoding: gzip
Content-length: 443
Date: Sat, 04 Feb 2023 19:15:38 GMT
Connection: keep-alive
Vary: Accept-Encoding
{
"current_time":"2023-02-04T19:15:38+00:00",
"results":{
"id":"3852",
"title":"US Department of State Press Briefing",
"description":"Marie Harf, US Department of State Deputy Spokesperson, will deliver the daily press briefing. Feed begins at 1:30 PM EDT. *** Time subject to change.",
"begin":"2014-04-03T17:25:00+00:00",
"end":"2014-04-03T19:48:00+00:00",
"hls_url":"https:\/\/api.dvidshub.net\/hls\/live\/3852.m3u8?api_key=key-XXXXXXXXXXXXX&dvrTime=1396545900",
"thumbnail":{
"url":"https:\/\/cdn.dvidshub.net\/media\/thumbs\/frames\/video\/1404\/326950\/122x92_q95.jpg",
"width":122,
"height":92
},
"url":"https:\/\/www.dvidshub.net\/webcast\/3852",
"video_id":"326950",
"unit_id":"127"
}
}