文档
测试

直播流查询

GET
http://domain/api/v1/live/subdomain/vhosts?vhost=live.test.com

请求头

参数名
类型
描述
必填
Content-Type
application/json
编码要求: UTF-8
必填
apiKey
string
TkF2MFa9ZAfdOvoQoFIvM9Ch0NTLRzltL5DROGT8xGqCNkzv75qucmM7uxzxi0Nn
必填

请求参数

参数名
类型
描述
必填
vhost
string
子域名
必填

响应参数

参数名
类型
描述
必填
code
int
200
必填
msg
string
ok
必填
data
array
必填

说明 / 示例

``` { "code": 200, "msg": "ok", "data": [ { "vhost": "live.test.com", "app": "2", "streamid": "190dc970fe1cc4e300c89e506caa8b33", "actived": true, "token": "02e51862352ca1dde4c98994cd18e25f6e647bb4", "closeOnSwitch": false, "pushToken": "2a441888b8ff3fa8a7cb6348bbf7d638de42b4cb", "pushSecretKey": "1234567", "pusherNotifyUrl": "http://live.test.com/callback" }, { "vhost": "abc.duduu.live", "app": "3", "streamid": "190dc970fe1cc4e300c89e506caa8b33", "actived": true, "token": "02e51862352ca1dde4c98994cd18e25f6e647bb4", "closeOnSwitch": false, "pushToken": "2a441888b8ff3fa8a7cb6348bbf7d638de42b4cb", "pushSecretKey": "1234567", "pusherNotifyUrl": "http://live.test.com/callback" } ] } ```