Create 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 "liveChannelTypeCreate" | 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 |
name | The name of the category | String | Required |
Response Example
{
"code":0,
"message":"operation success",
"result":
{
"id":"c2c6dbe434fd4ea795ccafe789f47008",
"name":"live stream classification test 1",
"userId":943,
"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; |