roma__ExportLiveDataApiDefinitionsV2
Export custom backend API definitions as Swagger-compliant JSON or YAML files for Huawei Cloud ROMA, so you can reuse or share API specifications.
Instructions
[ROMA] 导出自定义后端API,导出文件内容符合swagger标准规范。
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "roma__ExportLiveDataApiDefinitionsV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apis | No | 导出的自定义后端API ID列表 | |
| app_id | No | API所属的应用ID | |
| format | No | 导出的API定义的格式 | json |
| status | No | 导出的后端API状态: - 1:待开发 - 3:开发中 - 4:已部署 | |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID |