diff --git a/suites-help/SDK参考/API-参考.md b/suites-help/SDK参考/API-参考.md index 5bd6f32..3d10134 100644 --- a/suites-help/SDK参考/API-参考.md +++ b/suites-help/SDK参考/API-参考.md @@ -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}` | 套件详情 | | 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) | ## 完整文档