列出设备上安装的所有工作流。如果设置了查询参数 showhidden=true,此列表包括通常处于隐藏状态的工作流。
请求示例:
GET /api/workflow/v1/workflows HTTP/1.1 Authorization: Basic abcefgMWE= Host: zfssa.example.com:215 Accept: application/json
响应示例:
HTTP/1.1 200 OK
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json; charset=utf-8
Content-Length: 1908
{
"workflows": [{
"description": "Clear locks held on behalf of an NFS client",
"href": "/api/workflow/v1/workflows/10f25f2c-3a56-e733-d9c7-d4c6fd84e073",
...
},
{
"description": "Sets up environment for Oracle Solaris Cluster NFS",
"href": "/api/workflow/v1/workflows/2793f2dc-72de-eac4-c58b-cfbe527df92d",
...
},
{
"description": "Removes the artifacts from the appliance used by Oracle Solaris Cluster NFS",
"href": "/api/workflow/v1/workflows/9e2d5eed-cc72-67b0-e913-bf5ffad1d9e1",
...
},
{
"description": "Sets up environment to be monitored by Oracle Enterprise Manager",
"href": "/api/workflow/v1/workflows/bb5de1b8-b950-6da6-a650-f6fb19f1172c",
...
},
{
"description": "Removes the artifacts from the appliance used by Oracle Enterprise Manager",
"href": "/api/workflow/v1/workflows/bd7214fc-6bba-c7ad-ed1f-942c0189e757",
...
}]
}