Queries all workflows.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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

Table 1. Response body 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.