更新分类
服务地址
http://api-az-cn.danghongyun.com/rest
请求方法
POST
请求参数
| 参数 | 说明 | 类型 | 是否必须 |
|---|---|---|---|
| accessKey | 访问接口的accessKey | String | 必选 |
| action | API名称,此接口为 "liveChannelTypeUpdate" | 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":"58e8ccdb291b4cb5a6a3ffc38871eab7",
"name":"the type of live stream 1",
"userId":229,
"createTime":null,
"updateTime":null
},
"success":true
}
响应字段说明
| 字段 | 说明 |
|---|---|
| id | 分类ID |
| name | 分类名称 |
| userId | 用户ID |
| createTime | 创建时间 |
| updateTime | 更新时间 |