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

# 用户收藏统计

`GET /user/{username}/collections/status`

> **Deprecated.**

## Path parameters

- `username` string, required

## Query parameters

- `app_id` string, required

## Response `200`

获取用户所有收藏信息

- object[]
  - `type` SubjectType — unresolved $ref
  - `name` 'book' | 'anime' | 'music' | 'game' | 'real' — 条目类型名称 <br> book <br> anime <br> music <br> game <br> real
  - `name_cn` string — 条目类型中文名
  - `collects` object[] — 收藏列表
    - `status` CollectionStatus — 收藏状态 - 1 = wish = 想做 - 2 = collect = 做过 - 3 = do = 在做 - 4 = on_hold = 搁置 - 5 = dropped = 抛弃
      - `id` 1 | 2 | 3 | 4 | 5 — 收藏状态 ID
      - `type` 'wish' | 'collect' | 'do' | 'on_hold' | 'dropped' — 收藏状态类型
      - `name` '想做' | '做过' | '在做' | '搁置' | '抛弃' — 收藏状态名称
    - `count` integer

## Changes

- **2022-04-24** `171362386f6a` — 1 breaking, 5 info
  - the `items/type` response's property type changed from `integer` to no type for status `200`
  - removed the `1.00` enum value from the `items/type` response property for the response status `200`
  - removed the `2.00` enum value from the `items/type` response property for the response status `200`
  - removed the `3.00` enum value from the `items/type` response property for the response status `200`
  - …2 more
- **2022-04-20** `b563cadc4629` — 1 info
  - api operation id `getUserCollectionStatusByUsername` was added
- **2022-01-10** `eb35097779cd` — 1 info
  - endpoint deprecated
- **2018-03-03** `93fb38ef89aa` — 2 breaking, 5 warning
  - added the new required `query` request parameter `app_id`
  - the response's body type changed from `object` to `array` for status `200`
  - removed the optional property `1` from the response with the `200` status
  - removed the optional property `2` from the response with the `200` status
  - …3 more
- **2018-02-26** `53c2972105dc` — 25 warning
  - added the new `做过` enum value to the `1/items/name_cn` response property for the response status `200`
  - added the new `做过` enum value to the `2/items/name_cn` response property for the response status `200`
  - added the new `做过` enum value to the `3/items/name_cn` response property for the response status `200`
  - added the new `做过` enum value to the `4/items/name_cn` response property for the response status `200`
  - …21 more

[Full history](https://skmtc.dev/bangumi/apis/bangumi-api/changes/user/:username/collections/status/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/d7fbdda3c526?raw)
