流水线 CODEARTS PIPELINE-获取流水线执行记录:请求示例

时间:2023-12-06 10:17:45

请求示例

获取流水线执行记录。 指定查询的起始偏移量为0,数量为10,开始时间戳为1677513600000,结束时间戳为1678118399000,并按照开始时间降序排序。

POST https://{endpoint}/v5/54f90b75fc1447b1b65e8d3a9f77923d/api/pipelines/e5460d1d403146a1935c2d4b68ef506c/pipeline-runs/list

{
  "offset" : 0,
  "limit" : 10,
  "status" : [ "COMPLETED", "RUNNING", "FAILED", "CANCELED", "PAUSED", "SUSPEND", "QUEUED" ],
  "sort_key" : "start_time",
  "sort_dir" : "DESC",
  "start_time" : 1677513600000,
  "end_time" : 1678118399000
}
support.huaweicloud.com/api-pipeline/ListPipelineRuns.html