---
title: "get character related persons"
method: GET
path: "/v0/characters/{character_id}/persons"
tags: ["角色"]
---

# get character related persons

`GET /v0/characters/{character_id}/persons`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `character_id` integer, required

## Response `200`

Successful Response

- CharacterPerson[]
  - `id` integer, required
  - `name` string, required
  - `type` 1 | 2 | 3 | 4, required: type of a character 角色，机体，舰船，组织...
  - `images` PersonImages
    - `large` string, required
    - `medium` string, required
    - `small` string, required
    - `grid` string, required
  - `subject_id` integer, required
  - `subject_type` 1 | 2 | 3 | 4 | 6, required: 条目类型 - `1` 为 书籍 - `2` 为 动画 - `3` 为 音乐 - `4` 为 游戏 - `6` 为 三次元 没有 `5`
  - `subject_name` string, required
  - `subject_name_cn` string, required
  - `staff` string

## Other responses

- `400`: Validation Error
- `404`: Not Found

## Changes

- **2024-10-01** (v0) `25167996e069`: 1 info
  - added the required property `items/subject_type` to the response with the `200` status
- **2023-02-14** (v0) `e8423d5047fd`: 1 info
  - added the optional property `items/staff` to the response with the `200` status
- **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-06-21** (v0) `849933a48cb4`: 1 breaking
  - for the `path` request parameter `character_id`, 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

[Operation history](https://skmtc.dev/bangumi/apis/bangumi-open-api/changes/v0/characters/:character_id/persons/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)
