获取用户收藏的专辑
GET /music/collections
Response
Status: 200 OK
[
{
"id": 2,
"created_at": "2017-03-15 17:04:31",
"updated_at": "2017-06-27 18:40:56",
"title": "少女情怀总是诗",
"intro": "耶嘿 杀乌鸡",
"storage": {
"id": 108,
"size": "3024x3024"
},
"taste_count": 845,
"share_count": 21,
"comment_count": 97,
"collect_count": 9,
"paid_node": {
"paid": true,
"node": 1,
"amount": 200
}
}
]
Parameters
名称 | 类型 | 描述 |
limit | Integer | 可选,默认值 20 ,获取条数 |
max_id | Integer | 可选,上次获取到数据最后一条 ID,用于获取该 ID 之后的数据。 |
收藏专辑
POST /music/specials/{special}/collection
Response
Status: 201 Created
{
"message": [
"收藏成功"
]
}
取消收藏
DELETE /music/specials/{special}/collection
Response
Status: 204 No Content