---
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 表示博客最后更新时间

---

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