docs: add platform query param to API ref
This commit is contained in:
@@ -18,7 +18,7 @@ API Key 从 https://auth.mercator.cn 获取。
|
|||||||
|
|
||||||
| 方法 | 端点 | 说明 |
|
| 方法 | 端点 | 说明 |
|
||||||
|------|------|------|
|
|------|------|------|
|
||||||
| GET | `/api/v1/suites` | 套件列表 |
|
| GET | `/api/v1/suites` | 套件列表(支持 `?category=` `?platform=linux/windows/all` 筛选) |
|
||||||
| GET | `/api/v1/suites/{id}` | 套件详情 |
|
| GET | `/api/v1/suites/{id}` | 套件详情 |
|
||||||
| PATCH | `/api/v1/suites/{id}` | 更新套件 |
|
| PATCH | `/api/v1/suites/{id}` | 更新套件 |
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ API Key 从 https://auth.mercator.cn 获取。
|
|||||||
|
|
||||||
| 方法 | 端点 | 说明 |
|
| 方法 | 端点 | 说明 |
|
||||||
|------|------|------|
|
|------|------|------|
|
||||||
| POST | `/api/v1/publish/upload` | 发布套件(上传 TGZ 包 + 需 Gitea Token) |
|
| POST | `/api/v1/publish/upload` | 发布套件(上传 TGZ 包 + `platform` 字段 + 需 Gitea Token) |
|
||||||
|
|
||||||
## 完整文档
|
## 完整文档
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user