---
title: "用户收藏"
method: GET
path: "/user/{username}/collection"
tags: ["用户"]
deprecated: true
---

# 用户收藏

`GET /user/{username}/collection`

> **Deprecated.**

## Path parameters

- `username` string, required

## Query parameters

- `cat` 'watching' | 'all_watching', required
- `ids` string
- `responseGroup` 'small' | 'medium'

## Response `200`

获取用户收藏列表，默认为在看

- object[]
  - `name` string — 番剧标题
  - `subject_id` integer — 章节 ID
  - `ep_status` integer — 完成话数
  - `vol_status` unknown
  - `lasttouch` integer — 上次更新时间
  - `subject` object
    - `id` integer — 条目 ID
    - `url` string — 条目地址
    - `type` 1 | 2 | 3 | 4 | 6 — 条目类型 <br> 1 = book <br> 2 = anime <br> 3 = music <br> 4 = game <br> 6 = real
    - `name` string — 条目名称
    - `name_cn` string — 条目中文名称
    - `summary` string — 剧情简介
    - `air_date` string — 放送开始日期
    - `air_weekday` integer — 放送星期
    - `images` object — 封面
      - `large` string
      - `common` string
      - `medium` string
      - `small` string
      - `grid` string
    - `eps` integer — 话数
    - `eps_count` integer — 话数
    - `collection` SubjectCollection — 收藏人数
      - `wish` integer — 想做
      - `collect` integer — 做过
      - `doing` integer — 在做
      - `on_hold` integer — 搁置
      - `dropped` integer — 抛弃

## Changes

- **2022-04-20** `b563cadc4629` — 1 info
  - api operation id `getUserCollectionsByUsername` was added
- **2022-01-10** `eb35097779cd` — 1 info
  - endpoint deprecated
- **2018-03-03** `93fb38ef89aa` — 2 breaking, 13 warning, 3 info
  - the `query` request parameter `cat` became required
  - the `items/subject` response's property type changed from `object` to no type for status `200`
  - removed the optional property `items/subject/air_date` from the response with the `200` status
  - removed the optional property `items/subject/air_weekday` from the response with the `200` status
  - …14 more
- **2018-02-23** `305d13975624` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/bangumi/apis/bangumi-api/changes/user/:username/collection/get.md)

---

[API](https://skmtc.dev/bangumi/apis/bangumi-api.md) · [All operations](https://skmtc.dev/bangumi/apis/bangumi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bangumi/apis/bangumi-api/revisions/837db789fc7b?raw)
