---
title: "GET /v1/posts/{postID}"
method: GET
path: "/v1/posts/{postID}"
tags: ["MiniBlog"]
---

# GET /v1/posts/{postID}

`GET /v1/posts/{postID}`

GetPost 获取文章信息

## Path parameters

- `postID` string, required

## Response `200`

OK

- V1GetPostResponse — GetPostResponse 表示获取文章响应
  - `post` V1Post — Post 表示博客文章
    - `postID` string — postID 表示博文 ID
    - `userID` string — userID 表示用户 ID
    - `title` string — title 表示博客标题
    - `content` string — content 表示博客内容
    - `createdAt` string, date-time — createdAt 表示博客创建时间
    - `updatedAt` string, date-time — updatedAt 表示博客最后更新时间

## Changes

- **2026-07-17** `260806329592` — 1 breaking, 6 warning, 1 info
  - the `post` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `post/content` from the response with the `200` status
  - removed the optional property `post/createdAt` from the response with the `200` status
  - removed the optional property `post/postID` from the response with the `200` status
  - …4 more
- **2024-12-10** `2cd7efbd4c2e` — 1 info
  - endpoint added
- **2024-04-03** `ae599f31f558` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/onexstack/apis/miniblog-api/changes/v1/posts/:postID/get.md)

---

[API](https://skmtc.dev/onexstack/apis/miniblog-api.md) · [All operations](https://skmtc.dev/onexstack/apis/miniblog-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onexstack/miniblog-api/revisions/260806329592/schema)
