diff --git a/suites-help/系统使用手册/快速入门.md b/suites-help/系统使用手册/快速入门.md index b681701..a7cc424 100644 --- a/suites-help/系统使用手册/快速入门.md +++ b/suites-help/系统使用手册/快速入门.md @@ -21,9 +21,34 @@ curl -s https://suites.mercator.cn/api/v1/suites/{suite_id} ## 第三步:选择套件 -从列表中筛选符合需求的套件,记录它的 `suite_id` 和参数说明。 +从列表中筛选符合需求的套件,记录它的 `suite_id`。 -## 第四步:提交执行 +## 第四步:读取参数结构 + +查看套件详情中的 `params_schema`,了解需要提供哪些参数: + +```bash +curl -s https://suites.mercator.cn/api/v1/suites/{suite_id} | jq '.params_schema' +``` + +返回示例: +```json +{ + "type": "object", + "required": ["buffer_distance"], + "properties": { + "buffer_distance": { + "type": "number", + "default": 0.5, + "description": "缓冲区距离(度)" + } + } +} +``` + +根据参数声明构造输入数据。 + +## 第五步:提交执行 ```bash curl -s -X POST https://suites.mercator.cn/api/v1/suites/{suite_id}/execute \