文档首页> 容器批量计算 BCE> API参考> API> WDL任务> 查询所有的WDL execution的执行信息
更新时间:2021-08-03 GMT+08:00
分享

查询所有的WDL execution的执行信息

功能介绍

查询所有的WDL execution的执行信息,包括名称,状态,耗时等相关信息。

URI

GET /v1/{project_id}/executions-extend

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

项目ID

最小长度:1

最大长度:102400

表2 Query参数

参数

是否必选

参数类型

描述

guid

String

通过execution的id(创建WDL execution时返回的id) 筛选过滤WDL execution的信息,匹配规则为模糊匹配

最小长度:1

最大长度:102400

target

String

通过target(环境类型,目前只支持 cromwell) 筛选过滤WDL execution信息

最小长度:1

最大长度:102400

name

String

通过execution的名称 筛选过滤WDL execution信息,匹配规则为模糊匹配

最小长度:1

最大长度:102400

workflow_name

String

通过workflow的名称 筛选过滤WDL execution信息

最小长度:1

最大长度:102400

workflow_id

String

通过workflow(WDL作业模板详情可以查看)的id 筛选过滤WDL execution信息

最小长度:1

最大长度:102400

status

String

通过status(任务执行状态,支持Submitted,Running,Aborting,Failed,Succeeded,Aborted) 筛选过滤WDL execution信息

最小长度:1

最大长度:102400

limit

String

单页面可显示的最大数值

最小长度:1

最大长度:102400

offset

String

索引位置,从offset指定的下一条数据开始查询。必须为数字,不能为负数。查询第一页数据时,不需要传入此参数。

最小长度:1

最大长度:102400

请求参数

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

executions

Array of GetWdlExecutionResponse objects

get all executions

total_num

Long

total num

最小值:1

最大值:102400

表4 GetWdlExecutionResponse

参数

参数类型

描述

enterprise_project

EnterpriseProject object

企业项目(如未开启企业项目可以忽视)

execution

ThirdPartyExecution object

wdl execution 的详细信息

status

ExecStatusResp object

execution status response

表5 EnterpriseProject

参数

参数类型

描述

create_at

String

Create time of enterprise project

最小长度:1

最大长度:102400

description

String

Description of enterprise project

最小长度:1

最大长度:102400

id

String

ID of enterprise project

最小长度:1

最大长度:102400

name

String

Name of enterprise project

最小长度:1

最大长度:102400

status

Long

Status of enterprise project 1 is available 2 is unavailable

最小值:1

最大值:102400

update_at

String

Update time of enterprise project

最小长度:1

最大长度:102400

表6 ThirdPartyExecution

参数

参数类型

描述

create_at

String

time when execution is created

最小长度:1

最大长度:102400

cromwell_type

String

define to execution on cci or cce

最小长度:1

最大长度:102400

domain_id

String

domain id of execution

最小长度:1

最大长度:102400

engine_deployment

String

engine deployment name

最小长度:1

最大长度:102400

env_guid

String

engine deployment name

最小长度:1

最大长度:102400

guid

String

execution guid

最小长度:1

最大长度:102400

image

String

Image of workflow, from wf db

最小长度:1

最大长度:102400

inputs_json

String

inputs json of execution

最小长度:1

最大长度:102400

metadata_json

String

metadata json of execution

最小长度:1

最大长度:102400

name

String

name of execution

最小长度:1

最大长度:102400

namespace

String

namespace of execution

最小长度:1

最大长度:102400

node_number

Long

node number of WDL graph

最小值:1

最大值:102400

outputs_json

String

outputs json of execution

最小长度:1

最大长度:102400

project_id

String

project id of execution

最小长度:1

最大长度:102400

resources

String

execution actual resources consumption and time ratio

最小长度:1

最大长度:102400

status

String

status of execution

最小长度:1

最大长度:102400

tae_resources

String

execution trial and error resources consumption

最小长度:1

最大长度:102400

target

String

cluster source, currently cromwell only

最小长度:1

最大长度:102400

task_status

String

execution task status

最小长度:1

最大长度:102400

time_duration

Long

duration of processing

最小值:1

最大值:102400

update_at

String

time when execution is updated

最小长度:1

最大长度:102400

wdl_name

String

name of wdl

最小长度:1

最大长度:102400

workflow_id

String

workflow id of execution

最小长度:1

最大长度:102400

workflow_name

String

name of workflow

最小长度:1

最大长度:102400

third_party_id

String

execution guid in third party engine

最小长度:1

最大长度:102400

delete_json

String

time when execution is deleted and whether or not to clean data

最小长度:1

最大长度:102400

表7 ExecStatusResp

参数

参数类型

描述

actual_node_status

JobStatus object

任务的实际的运行状态

finished_node_number

Long

已经执行结束的任务数量

最小值:1

最大值:102400

node_number

Long

WDL图中点(模板中任务)的数量

最小值:1

最大值:102400

表8 JobStatus

参数

参数类型

描述

finished_sub_job_num

Long

已经执行结束的子任务数量

最小值:1

最大值:102400

name

String

任务名称

最小长度:1

最大长度:102400

resources

ResourceCost object

资源使用的状况

status

String

任务的执行状态

最小长度:1

最大长度:102400

sub_job_num

Long

任务中包含子任务的数量

最小值:1

最大值:102400

sub_job_status

SubJobStatus object

子任务的执行状态

time_duration

Long

任务执行的持续时间

最小值:1

最大值:102400

表9 SubJobStatus

参数

参数类型

描述

actual_running_time

Long

actual running time

最小值:1

最大值:102400

name

String

sub job name

最小长度:1

最大长度:102400

resources

ResourceCost object

resources

status

String

sub job status

最小长度:1

最大长度:102400

time_duration

Long

time duration

最小值:1

最大值:102400

表10 ResourceCost

参数

参数类型

描述

cpu

Double

cpu消耗资源状况

最小值:1

最大值:102400

memory

Double

memory消耗资源状况

最小值:1

最大值:102400

time_ratio

Double

时间的比例

最小值:1

最大值:102400

状态码: 400

表11 响应Body参数

参数

参数类型

描述

error_code

String

Error code

最小长度:1

最大长度:102400

error_msg

String

Error detail message

最小长度:1

最大长度:102400

extend

String

Error extend message

最小长度:1

最大长度:102400

show_detail

Boolean

If extend message displayed

状态码: 500

表12 响应Body参数

参数

参数类型

描述

error_code

String

Error code

最小长度:1

最大长度:102400

error_msg

String

Error detail message

最小长度:1

最大长度:102400

extend

String

Error extend message

最小长度:1

最大长度:102400

show_detail

Boolean

If extend message displayed

请求示例

响应示例

状态码

状态码

描述

200

"获取任务列表成功"

400

"获取任务列表,参数不合法。"

500

"获取任务列表, 网络错误。"

分享:

    相关文档

    相关产品