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": "25b96334-1ea6-49e3-9ca3-ecde15ac8094", "Name": "sample string 2", "OSSImagePath": "sample string 3", "Beat": { "Normal": 1, "Running": 2 }, "TagCategorys": [ { "CategoryId": "b1ff6d97-fe61-45ce-b2ce-e1d9e286e2a3", "TagIds": [ "1354903e-47f0-4746-be53-68aa617a9bbf", "e22c89b5-1435-4c7d-b307-6e763dfac4cf", "adbe1df9-dd39-42f7-a22f-bcfee86ac97a" ] }, { "CategoryId": "b1ff6d97-fe61-45ce-b2ce-e1d9e286e2a3", "TagIds": [ "1354903e-47f0-4746-be53-68aa617a9bbf", "e22c89b5-1435-4c7d-b307-6e763dfac4cf", "adbe1df9-dd39-42f7-a22f-bcfee86ac97a" ] }, { "CategoryId": "b1ff6d97-fe61-45ce-b2ce-e1d9e286e2a3", "TagIds": [ "1354903e-47f0-4746-be53-68aa617a9bbf", "e22c89b5-1435-4c7d-b307-6e763dfac4cf", "adbe1df9-dd39-42f7-a22f-bcfee86ac97a" ] } ], "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" }