---
title: "Get Text Versions"
method: GET
path: "/api/texts/{text_id}/versions"
tags: ["texts"]
---

# Get Text Versions

`GET /api/texts/{text_id}/versions`

## Request

- Base URL: `https://fojin.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fojin.app/api/texts/{text_id}/versions`
- Auth: none declared

Get all versions of a text: translations, parallel texts, IIIF manifests, and source links.

获取经典的所有版本：不同译本、平行文本、IIIF写本图像、各数据源链接。

## Path parameters

- `text_id` integer, required

## Response `200`

Successful Response

- TextVersionsResponse
  - `text_id` integer, required
  - `title_zh` string, nullable
  - `translations` VersionTranslation[], required
    - `text_id` integer, required
    - `title_zh` string, nullable
    - `title_en` string, nullable
    - `translator` string, nullable
    - `dynasty` string, nullable
    - `lang` string, nullable
    - `source_name` string, nullable
    - `relation_type` string, nullable
  - `iiif_manifests` VersionIIIF[], required
    - `id` integer, required
    - `label` string, nullable
    - `manifest_url` string, required
    - `thumbnail_url` string, nullable
    - `provider` string, nullable
  - `source_links` VersionSourceLink[], required
    - `source_name` string, required
    - `source_url` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform.md) · [All operations](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/revisions/969714238c61?raw)
