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

# GET /v1/posts

`GET /v1/posts`

ListPost 列出所有文章

## Query parameters

- `offset` string
- `limit` string
- `title` string

## Response `200`

OK

- V1ListPostResponse — ListPostResponse 表示获取文章列表响应
  - `totalCount` string — total_count 表示总文章数
  - `posts` V1Post[] — posts 表示文章列表
    - `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/revisions/260806329592/schema)
