POST api/Music/addChannel
创建音乐频道
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"MusicId": "d35985d6-e176-49ae-9018-c0f70120cb3e",
"Name": "sample string 2",
"OSSImagePath": "sample string 3",
"Beat": {
"Normal": 1,
"Running": 2
},
"TagCategorys": [
{
"CategoryId": "faf08532-6ac3-4fb0-8491-b47fe90b034a",
"TagIds": [
"b8ea44bf-e4ee-4fdf-b07d-924cccdaa8cd",
"399a559e-4fb4-42a1-b93a-869390d64444",
"1410a604-9464-426d-a619-6978c0a484ec"
]
},
{
"CategoryId": "faf08532-6ac3-4fb0-8491-b47fe90b034a",
"TagIds": [
"b8ea44bf-e4ee-4fdf-b07d-924cccdaa8cd",
"399a559e-4fb4-42a1-b93a-869390d64444",
"1410a604-9464-426d-a619-6978c0a484ec"
]
},
{
"CategoryId": "faf08532-6ac3-4fb0-8491-b47fe90b034a",
"TagIds": [
"b8ea44bf-e4ee-4fdf-b07d-924cccdaa8cd",
"399a559e-4fb4-42a1-b93a-869390d64444",
"1410a604-9464-426d-a619-6978c0a484ec"
]
}
],
"Preference": [
{
"sample string 1": 2,
"sample string 3": 4,
"sample string 5": 6
},
{
"sample string 1": 2,
"sample string 3": 4,
"sample string 5": 6
},
{
"sample string 1": 2,
"sample string 3": 4,
"sample string 5": 6
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"Result": 1,
"Message": "sample string 2",
"Data": {},
"Version": "sample string 4"
}