分类列表
服务地址
http://api-az-cn.danghongyun.com/rest
请求方法
GET
请求参数
参数 | 说明 | 类型 | 是否必须 |
---|---|---|---|
accessKey | 访问接口的accessKey | String | 必选 |
action | API名称,此接口为 "liveChannelTypeList" | String | 必选 |
version | API版本,目前必须为 2.0 | String | 必选 |
signature | 签名,请参考签名规则 | String | 必选 |
timestamp | API调用时间戳,1970年1月1日以来的毫秒数,如1466488681033 | String | 必选 |
id | 分类ID | String | 可选 |
name | 分类名称 | String | 可选 |
响应 示例
{
"code":0,
"message":"operation success",
"result":
[
{
"id":"7a890dd49c0349f696a58d724cde03a6",
"name":"wjhTestLiveType2222",
"userId":229,
"createTime":1499935511000,
"updateTime":1499950525000
},
{
"id":"d05e1cc30e754c5a940c721eb9df0acf",
"name":"type of test dcz",
"userId":229,
"createTime":1503452451000,
"updateTime":null
},
{
"id":"58e8ccdb291b4cb5a6a3ffc38871eab7",
"name":"the type of live stream 1",
"userId":229,
"createTime":1520930804000,
"updateTime":1520931684000
}
],
"success":true
}
响应字段说明
字段 | 说明 |
---|---|
id | 分类ID |
name | 分类名称 |
userId | 用户ID |
createTime | 创建时间 |
updateTime | 更新时间 |