ListFlows - 查询工作流列表
查询当前地域下所有工作流列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
composer:ListFlows |
get |
*Flow
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageSize |
integer |
否 |
每页大小,最大 100,默认值为 10 |
10 |
| PageNumber |
integer |
否 |
当前页码。起始值:1 默认值:1 |
1 |
| FlowName |
string |
否 |
工作流的名称 |
test |
| Filter |
string |
否 |
过滤条件,json 格式:{"key1":"value1"} |
{\"tags\":[{\"key\":\"acs:lc:Solution:AliyunSSO\",\"value\":\"test\"}]} |
| ResourceGroupId |
string |
否 |
资源组 ID,不传该参数则查询本账号下所有工作流。指定资源组 ID 后只会查询该资源组下的工作流 |
rg-acfmzy6dzs6qtqa |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| TotalCount |
integer |
当前地域下工作流的总数 |
1 |
| RequestId |
string |
请求 ID |
A4865221-E0BC-5AF6-BDD3-749F5A2371CC |
| Flows |
array<object> |
工作流列表 |
|
|
object |
工作流详细信息 |
||
| UpdateTime |
string |
最后更新时间 |
2019-07-19T05:43:16.783Z |
| FlowSource |
string |
工作流来源 |
Solution |
| FlowStatus |
string |
状态。
|
Enabled |
| CreateTime |
string |
创建时间 |
2019-07-19T05:43:16.783Z |
| FlowEditMode |
string |
编辑模式 |
Normal |
| VersionId |
string |
当前最新版本 |
1 |
| FlowDescription |
string |
工作流的描述 |
test flow |
| FlowName |
string |
工作流名称 |
test |
| TemplateId |
string |
模板 ID,可以通过 ListTemplates 获得模板 ID |
tp-uf6lzhzywy28bs |
| FlowId |
string |
工作流 ID |
lc-uf6axpwfcw4ubx |
| RegionId |
string |
当前工作流所属地域 |
cn-shanghai |
| ResourceGroupId |
string |
资源组 ID |
rg-acfmzyxxxxxxx |
示例
正常返回示例
JSON格式
{
"TotalCount": 1,
"RequestId": "A4865221-E0BC-5AF6-BDD3-749F5A2371CC",
"Flows": [
{
"UpdateTime": "2019-07-19T05:43:16.783Z",
"FlowSource": "Solution",
"FlowStatus": "Enabled",
"CreateTime": "2019-07-19T05:43:16.783Z",
"FlowEditMode": "Normal",
"VersionId": "1",
"FlowDescription": "test flow",
"FlowName": "test",
"TemplateId": "tp-uf6lzhzywy28bs",
"FlowId": "lc-uf6axpwfcw4ubx",
"RegionId": "cn-shanghai",
"ResourceGroupId": "rg-acfmzyxxxxxxx"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。