更改日志
您的项目更改日志条目的完整 CRUD。
GET/v1/changelog
| Parameter | Type | Description |
|---|---|---|
locale | string | 当翻译存在时,以此 locale 返回条目。 |
limit | integer | 页面大小。默认为20。 |
offset | integer | 跳过的项目数。默认为0。 |
列出仅返回已发布的条目 — 门户访客看到的同一集合。
GET/v1/changelog/:id
| Parameter | Type | Description |
|---|---|---|
locale | string | 当翻译存在时,以此 locale 返回条目。 |
POST/v1/changelog
| Parameter | Type | Description |
|---|---|---|
titlerequired | string | 条目标题。 |
body | string | 条目正文(Markdown)。 |
labels | string[] | 例如 New、Improved、Fixed的标签。 |
version | string | 语义版本号。默认为 1.0.0。 |
status | string | draft、scheduled或published。默认为draft。 |
locale | string | 内容的 locale。默认为 en。 |
PATCH/v1/changelog/:id
| Parameter | Type | Description |
|---|---|---|
title | string | 条目标题。 |
body | string | 条目正文(Markdown)。 |
labels | string[] | 例如 New、Improved、Fixed的标签。 |
version | string | 语义版本号。默认为 1.0.0。 |
status | string | draft、scheduled或published。默认为draft。 |
locale | string | 内容的 locale。默认为 en。 |
DELETE/v1/changelog/:id
写入需要付费计划的API访问 Pro。DELETE返回 204 空正文。
此页面是占位符 — 完整的请求/响应示例即将推出。
Last updated on