apig__CreateEnvironment
Create an APIG environment with a name and optional remark to isolate API versions and endpoints for development, testing, or production.
Instructions
[APIG] 在实际的生产中,API提供者可能有多个环境,如开发环境、测试环境、生产环境等,用户可以自由将API发布到某个环境,供调用者调用。对于不同的环境,API的版本、请求地址甚至于包括请求消息等均有可能不同。如:某个API,v1.0的版本为稳定版本,发布到了生产环境供生产使用,同时,该API正处于迭代中,v1.1的版本是开发人员交付测试人员进行测试的版本,发布在测试环境上,而v1.2的版本目前开发团队正处于开发过程中,可以发布到开发环境进行自测等。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "apig__CreateEnvironment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 环境的名称,支持英文,数字,下划线,且只能以英文字母开头,3 ~ 64字符。 | |
| remark | No | 描述信息,字符长度不能大于255 |