Update Category
Service Address
http://api-az-cn.danghongyun.com/rest
Request Method
POST
Request Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| accessKey | The user access key | String | Required |
| action | API name, this api is "liveChannelTypeUpdate" | String | Required |
| version | API version, currently must be 2.0 | String | Required |
| signature | Signature generated by signature rule. | String | Required |
| timestamp | Invoke time in milliseconds since january 1 1970, eg: 1466488681033 | String | Required |
| id | The id of category | String | Required |
| name | The name of the category | String | Required |
Response Example
{
"code":0,
"message":"operation success",
"result":
{
"id":"58e8ccdb291b4cb5a6a3ffc38871eab7",
"name":"the type of live stream 1",
"userId":229,
"createTime":null,
"updateTime":null
},
"success":true
}
Response Fields
| Field | Description |
|---|---|
| id | unique identification; |
| name | the name of the live stream category; |
| userId | user id; |
| createTime | create time; |
| updateTime | update time; |