查詢使用直播服務的云手機
描述?
直播服務設備列表
請求參數?
| 參數名 | 參數類型 | 是否必填 | 參數說明 |
|---|---|---|---|
| Action | String | 是 | 操作方法:ListServiceDevice,此參數為公共參數,不必放body里面 |
| Region | String | 是 | 機房標識,取值參見地域列表 |
| LiveServiceId | String | 是 | 直播服務ID |
| DeviceId | String | 否 | 設備ID |
| SortField | String | 否 | 排序字段 取值:DeviceType / AuthCode |
| SortOrder | String | 否 | 1升序 -1降序 |
返回參數?
| 名稱 | 類型 | 說明 |
|---|---|---|
| Id | String | ID |
| LiveServiceId | String | 直播服務id |
| LiveDeviceId | String | 直播設備id |
| DeviceType | String | 直播設備類型:SELF自己 OTHER其他 |
| AuthCode | String | 授權碼 |
| SrsClientId | String | 客戶端標識 |
| CreateTime | Integer | 創建時間 |
| UpdateTime | Integer | 更新時間 |
請求示例?
post //api.cn-henji.com/v2/?Action=ListLiveService
{
"Region":"xxxxxx",
"LiveServiceId":"xxxxxxxx",
"DeviceId":"xxxxxx",
"SortField":"xxxxx",
"SortOrder":"xxxxxx",
}
返回示例?
{
"code": 10000,
"message": "",
"data": {
"Id": "xxxxx",
"LiveServiceId": "xxxxxx",
"LiveDeviceId": "xxxxxx",
"DeviceType": "xxxxx",
"AuthCode": "xxxxxx",
"SrsClientId": "xxxxxx",
"CreateTime": xxxxxx,
"UpdateTime": xxxxxx"
}
}