docs: add platform query param to API ref

This commit is contained in:
2026-07-20 09:01:22 +00:00
parent 63b3a1b25c
commit b9779c60c0
+2 -2
View File
@@ -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 |
## 完整文档 ## 完整文档