收藏

获取用户单个条目收藏

Changed on

获取对应用户的收藏,查看私有收藏需要 access token

get/v0/users/{username}/collections/{subject_id}

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

usernamestring required

设置了用户名之后无法使用 UID。

subject_idinteger required

条目 ID

Response

Successful Response

subject_idinteger required
subject_type1 | 2 | 3 | 4 | 6 required

条目类型

  • 1 为 书籍
  • 2 为 动画
  • 3 为 音乐
  • 4 为 游戏
  • 6 为 三次元

没有 5

rateinteger required
type1 | 2 | 3 | 4 | 5 required
  • 1: 想看
  • 2: 看过
  • 3: 在看
  • 4: 搁置
  • 5: 抛弃
commentstring
tagsstring[] required
ep_statusinteger required
vol_statusinteger required
updated_atstring date-time required

本时间并不代表条目的收藏时间。修改评分,评价,章节观看状态等收藏信息时未更新此时间是一个 bug。请不要依赖此特性

privateboolean required

Example response

{
  "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

    • ○

      added the required property / to the response with the status

    • ●

      removed the optional property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status