Queries all workflows.
Debugging
Request syntax
GET /gs/workflows HTTP/1.1
Content-Type:application/json
Common request parameters
Request parameters
None
Response syntax
HTTP/1.1 200 OK
Content-Type:application/json
{
"jobs" : [ {
"cluster_id" : "String",
"job_name" : "String",
"create_time" : "String"
} ]
}
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
jobs | Array of job |
The list of the jobs. |
|
cluster_id | String | cb1a7214cfc0b41d9bb086affc2d8f51c |
The ID of the ACK cluster. |
job_name | String | wgs-gpu-qb4dk |
The name of the workflow. |
create_time | String | 2020-01-15T13:18:52Z |
The time when the workflow was created. |
Examples
GET /gs/workflows HTTP/1.1
Host:cs.aliyuncs.com
Content-Type:application/json
Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<jobs>
<cluster_id>cb1a7214cfc0b41d9bb086affc2d8f51c</cluster_id>
<job_name>wgs-gpu-qb4dk</job_name>
<create_time>2020-01-15T13:18:52Z</create_time>
</jobs>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"jobs" : [ {
"cluster_id" : "cb1a7214cfc0b41d9bb086affc2d8f51c",
"job_name" : "wgs-gpu-qb4dk",
"create_time" : "2020-01-15T13:18:52Z"
} ]
}
Error codes
For a list of error codes, visit the API Error Center.