文档

ListPipelineGroupPipelines - 获取流水线分组下流水线列表

获取流水线分组下流水线列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /organization/{organizationId}/pipelineGroups/{groupId}/pipelines

请求参数

名称类型必填描述示例值
organizationIdstring

企业标识,也称企业 id,字符串形式,可在云效访问链接中获取,如 https://devops.aliyun.com/organization/【OrganizationId】

5ebbc0228123212b59xxxxx
maxResultslong

每页数量。最大支持 50

10
nextTokenstring

分页 token

aaaa
groupIdlong

流水线分组 id

111
pipelineNamestring

流水线名称

流水线
executeStartTimelong

流水线最后执行开始时间

1586863220000
executeEndTimelong

流水线最后执行结束时间

1586863220000
createStartTimelong

流水线创建开始时间

1586863220000
resultStatusListstring

流水线最后运行状态,多个逗号分割,SUCCESS 运行成功, RUNNING 运行中,FAIL 运行失败,CANCELED 已取消,WAITING 等待中

RUNNING,SUCCESS
createEndTimelong

流水线创建结束时间

1586863220000

返回参数

名称类型描述示例值
object

Schema of Response

requestIdstring

请求 id,每次请求都是唯一值,便于后续排查问题

ASSDS-ASSASX-XSAXSA-XSAXSAXS
errorMessagestring

错误信息

""
successboolean

true 接口调用成功,false 接口调用失败

true
errorCodestring

错误码

""
pipelinesobject []

流水线列表

pipelineNamestring

流水线名称

流水线名称
createTimelong

流水线创建时间

1586863220000
pipelineIdlong

流水线 id

1111
totalCountinteger

总数

20
nextTokenstring

分页 token,为空表示没有下一页

aaaa

示例

正常返回示例

JSON格式

{
  "requestId": "ASSDS-ASSASX-XSAXSA-XSAXSAXS",
  "errorMessage": "\"\"",
  "success": true,
  "errorCode": "\"\"",
  "pipelines": [
    {
      "pipelineName": "流水线名称",
      "createTime": 1586863220000,
      "pipelineId": 1111
    }
  ],
  "totalCount": 20,
  "nextToken": "aaaa"
}

错误码

HTTP status code错误码错误信息描述
403Forbidden.UserNotInCurrentOrganizationThe user is not in the organization and is not authorized to perform the operation.当前用户不在该企业中,无权进行操作。
404InvalidOrganization.NotFoundThe organization is not found.企业不存在,请检查企业ID是否正确
404InvalidUser.UserNotInCurrentOrganizationThe current user is not in the organization and has no permission to operate.当前用户不在该企业中,无权进行操作。

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (0)
文档反馈