收藏
获取用户收藏
Changed on获取对应用户的收藏,查看私有收藏需要access token。
get/v0/users/{username}/collections
Request
- The document declares no server URL.
- Auth: HTTP bearer
Path parameters
usernamestring required
设置了用户名之后无法使用 UID。
Query parameters
subject_type1 | 2 | 3 | 4 | 6
条目类型
- 1 为 书籍
- 2 为 动画
- 3 为 音乐
- 4 为 游戏
- 6 为 三次元
没有 5
Example:2
条目类型,默认为全部
具体含义见 SubjectType
type1 | 2 | 3 | 4 | 5
- 1: 想看
- 2: 看过
- 3: 在看
- 4: 搁置
- 5: 抛弃
Example:3
收藏类型,默认为全部
具体含义见 CollectionType
limitinteger
分页参数
offsetinteger
分页参数
Response
Successful Response
Example response
{
"data": [
{
"subject_id": 8,
"subject_type": 2,
"rate": 4,
"type": 3,
"comment": "看看",
"tags": [
"柯南",
"万年小学生",
"推理",
"青山刚昌",
"TV"
],
"ep_status": 5,
"updated_at": "2022-06-19T18:44:13.6140127+08:00",
"subject": {
"type": 2
}
}
]
}Changes
- ○
for the
queryrequest parametertype, the type was generalized fromintegerto no type
- ○
- ○
added the required property
///to the response with the status
- ○