更新时间:2022-06-15 GMT+08:00
查询workflow工具
功能介绍
查询特定流程包含的工具。
请求消息
请求示例
GET /v1/workflows/0e7196ae-fdbf-84e4-d751-28554dcd7572/tools HTTP/1.1 Host:Host Server Content-Type:application/json
响应消息
响应参数
响应中结构如表2所示。
参数 | 参数类型 | 描述 |
|---|---|---|
command | String | 直接写要执行的命令。 |
cpu | String | 工具默认需要的cpu。 |
description | String | 工具描述信息。 |
image | String | 工具镜像。 |
memory | String | 工具默认需要memory。 |
name | String | 工具名称。 |
scope | String | 工具范围。 |
type | String | 工具类型。 |
version | String | 工具版本。 |
响应示例
{
"tools": {
"nginx:latest": {
"command": "your command here",
"cpu": "2C",
"description": "",
"image": "nginx:latest",
"memory": "8G",
"name": "nginx",
"scope": "domain",
"type": "container",
"version": "latest"
}
}
} 父主题:Workflow

