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

# GET /v1/posts/{postID}

`GET /v1/posts/{postID}`

获取文章信息

## Path parameters

- `postID` string, required

## Response `200`

OK

- V1GetPostResponse — GetPostResponse 表示获取文章响应
  - `post` V1Post — Post 表示博客文章
    - `postID` string
    - `userID` string
    - `title` string
    - `content` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Changes

- **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/2cd7efbd4c2e/schema)
