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

# GET /v1/posts

`GET /v1/posts`

列出所有文章

## Query parameters

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

## Response `200`

OK

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