---
title: "Get Subject Revisions"
method: GET
path: "/v0/revisions/subjects"
tags: ["编辑历史"]
---

# Get Subject Revisions

`GET /v0/revisions/subjects`

## Request

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

## Query parameters

- `subject_id` integer, required
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- PagedRevision
  - `total` integer
  - `limit` integer
  - `offset` integer
  - `data` Revision[]
    - `id` integer, required
    - `type` integer, required
    - `creator` Creator: 意义同<a href="#model-Me">Me</a>
      - `username` string, required
      - `nickname` string, required
    - `summary` string, required
    - `created_at` string, date-time, required

## Other responses

- `400`: Validation Error

## Changes

- **2022-11-19** (v0) `bb6bcec42206`: 1 warning, 1 info
  - removed the optional property `detail` from the response with the `400` status
  - added the optional property `details` to the response with the `400` status
- **2022-06-21** (v0) `849933a48cb4`: 2 breaking
  - for the `query` request parameter `limit`, the min was increased from `0.00` to `1.00`
  - for the `query` request parameter `subject_id`, the min was increased from `0.00` to `1.00`
- **2022-05-07** (v0) `588c3a75d5cd`: 2 breaking, 2 warning
  - added `subschema #1, subschema #2` to the `detail` response property `oneOf` list for the response status `400`
  - the `detail` response's property type changed from `object` to no type for status `400`
  - removed the optional property `detail/error` from the response with the `400` status
  - removed the optional property `detail/path` from the response with the `400` status
- **2022-04-23** (v0) `c74b08b9afd8`: 1 breaking
  - the response property `detail` became optional for the status `400`
- **2022-04-20** (v0) `00677f33719a`: 1 info
  - api operation id `get_subject_revisions_v0_revisions_subjects_get` removed and replaced with `getSubjectRevisions`

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