POST api/Music/addChannel

创建音乐频道

Request Information

Parameters

NameDescriptionAdditional information
model

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MusicId": "172808d6-3dd2-4e72-91c4-6ff0b02ab8ca",
  "Name": "sample string 2",
  "OSSImagePath": "sample string 3",
  "Beat": {
    "Normal": 1,
    "Running": 2
  },
  "TagCategorys": [
    {
      "CategoryId": "13bbc0a6-8e9e-4288-b018-0211366724e1",
      "TagIds": [
        "ecfe9a1d-9615-4ba0-87b9-8f5df979afe5",
        "759e432e-9353-439c-84a6-89ac5eb722e5",
        "0f6ec19b-0ab3-4a78-9c11-9a96feddd278"
      ]
    },
    {
      "CategoryId": "13bbc0a6-8e9e-4288-b018-0211366724e1",
      "TagIds": [
        "ecfe9a1d-9615-4ba0-87b9-8f5df979afe5",
        "759e432e-9353-439c-84a6-89ac5eb722e5",
        "0f6ec19b-0ab3-4a78-9c11-9a96feddd278"
      ]
    },
    {
      "CategoryId": "13bbc0a6-8e9e-4288-b018-0211366724e1",
      "TagIds": [
        "ecfe9a1d-9615-4ba0-87b9-8f5df979afe5",
        "759e432e-9353-439c-84a6-89ac5eb722e5",
        "0f6ec19b-0ab3-4a78-9c11-9a96feddd278"
      ]
    }
  ],
  "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"
}