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

# POST /v1/posts

`POST /v1/posts`

CreatePost 创建文章

## Request body

- V1CreatePostRequest — CreatePostRequest 表示创建文章请求
  - `title` string — title 表示博客标题
  - `content` string — content 表示博客内容

## Response `200`

OK

- V1CreatePostResponse — CreatePostResponse 表示创建文章响应
  - `postID` string — postID 表示创建的文章 ID

---

[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)
