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": "1b900b88-48ff-43de-983a-c10cb713d744",
"Name": "sample string 2",
"CoverImage": "sample string 3",
"NumberOfAudio": 4,
"CreateTime": 5,
"User": {
"UserId": "139a8f7a-bd94-481a-af4a-83dec08cdcfe",
"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"
}