点赞相册
POST
/explore/albums/{id}/like
请求参数
Path 参数
id
integer
相册ID
示例值:
1
Header 参数
Accept
string
可选
默认值:
application/json
Authorization
string
可选
默认值:
Bearer {{token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:8000/api/v2/explore/albums/1/like' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}'
返回响应
🟢201成功
application/json
Body
status
string
必需
message
string
必需
time
integer
必需
示例
{
"status": "string",
"message": "string",
"time": 0
}