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": "01fdf34e-2da1-471f-af95-83f0a97587c6",
  "Name": "sample string 2",
  "OSSImagePath": "sample string 3",
  "Beat": {
    "Normal": 1,
    "Running": 2
  },
  "TagCategorys": [
    {
      "CategoryId": "65ca58a4-04bc-4f54-b01c-005ceafe340e",
      "TagIds": [
        "a975afdb-3acc-411a-a7fb-53c858f6d8ca",
        "b5f5ab59-dd02-4e59-870a-13ae524db82a",
        "f65cd8e7-c865-4815-9f48-9cb309c93f9e"
      ]
    },
    {
      "CategoryId": "65ca58a4-04bc-4f54-b01c-005ceafe340e",
      "TagIds": [
        "a975afdb-3acc-411a-a7fb-53c858f6d8ca",
        "b5f5ab59-dd02-4e59-870a-13ae524db82a",
        "f65cd8e7-c865-4815-9f48-9cb309c93f9e"
      ]
    },
    {
      "CategoryId": "65ca58a4-04bc-4f54-b01c-005ceafe340e",
      "TagIds": [
        "a975afdb-3acc-411a-a7fb-53c858f6d8ca",
        "b5f5ab59-dd02-4e59-870a-13ae524db82a",
        "f65cd8e7-c865-4815-9f48-9cb309c93f9e"
      ]
    }
  ],
  "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"
}