**版本：202601**

# 创建博客

**POST** `/openapi/2026-01/blogs`

使用提供的详情创建新博客。

## 请求

**application/json**

**请求体 | 示例**

**请求体 (required)**

- `blog` object (required)

  博客

  - `Title` string (required)

    博客标题，标题长度须在 1 到 100 个字符之间

    **可选值：** `<= 100 个字符`
  - `handle` string

    SEO链接
  - `seo_title` string

    SEO 标题
  - `seo_description` string

    SEO 描述
  - `seo_keywords` string[]

    SEO 关键词数组

```json
{
  "blog": {
    "Title": "string",
    "handle": "string",
    "seo_title": "string",
    "seo_description": "string",
    "seo_keywords": [
      "string"
    ]
  }
}
```

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `blog` object

    博客

    - `id` string

      博客的唯一标识
    - `title` string

      博客标题
    - `handle` string

      SEO 链接
    - `seo_title` string

      SEO 标题
    - `seo_description` string

      SEO 描述
    - `seo_keywords` string[]

      SEO 关键词
    - `created_at` string

      创建时间
    - `updated_at` string

      更新时间
    - `article_count` int32

      该专辑下的文章数

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "blog": {
      "id": "string",
      "title": "string",
      "handle": "string",
      "seo_title": "string",
      "seo_description": "string",
      "seo_keywords": [
        "string"
      ],
      "created_at": "string",
      "updated_at": "string",
      "article_count": 0
    }
  }
}
```
