POST api/Favorite/Add
47 创建收藏夹
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | 收藏夹名称Json |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"PlaylistId": "5c090446-0289-43ab-b443-668b76a06705",
"Name": "sample string 2",
"CoverImage": "sample string 3",
"NumberOfAudio": 4,
"CreateTime": 5,
"User": {
"UserId": "07b8fc27-bac6-45ee-9118-81b7f4dbc0f5",
"Nick": "sample string 2",
"OSSImagePath": "sample string 3",
"UserType": 1
},
"TotalDuration": 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"
}