---
title: "Get Index Subjects"
method: GET
path: "/v0/indices/{index_id}/subjects"
tags: ["目录"]
---

# Get Index Subjects

`GET /v0/indices/{index_id}/subjects`

## Request

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

## Path parameters

- `index_id` integer, required

## Query parameters

- `type` 1 | 2 | 3 | 4 | 6: 条目类型 - `1` 为 书籍 - `2` 为 动画 - `3` 为 音乐 - `4` 为 游戏 - `6` 为 三次元 没有 `5`
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

## Other responses

- `400`: Bad Request
- `404`: Not Found

## Changes

- **2022-11-19** (v0) `bb6bcec42206`: 2 warning, 2 info
  - removed the optional property `detail` from the response with the `400` status
  - removed the optional property `detail` from the response with the `404` status
  - added the optional property `details` to the response with the `400` status
  - added the optional property `details` to the response with the `404` status
- **2022-10-24** (v0) `bbacb4142fa3`: 1 breaking
  - removed the media type `application/json` for the response with the status `200`
- **2022-06-21** (v0) `849933a48cb4`: 2 breaking
  - for the `path` request parameter `index_id`, the min was increased from `0.00` to `1.00`
  - for the `query` request parameter `limit`, the min was increased from `0.00` to `1.00`
- **2022-05-07** (v0) `588c3a75d5cd`: 4 breaking, 4 warning
  - added `subschema #1, subschema #2` to the `detail` response property `oneOf` list for the response status `400`
  - added `subschema #1, subschema #2` to the `detail` response property `oneOf` list for the response status `404`
  - the `detail` response's property type changed from `object` to no type for status `400`
  - the `detail` response's property type changed from `object` to no type for status `404`
  - …4 more
- **2022-04-23** (v0) `c74b08b9afd8`: 2 breaking
  - the response property `detail` became optional for the status `400`
  - the response property `detail` became optional for the status `404`

[Operation history](https://skmtc.dev/bangumi/apis/bangumi-open-api/changes/v0/indices/:index_id/subjects/get.md)

---

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