获取流水线分组列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
GET /organization/{organizationId}/pipelineGroups
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 | 
|---|---|---|---|---|
| organizationId | string | 是 | 企业标识,也称企业 id,字符串形式,可在云效访问链接中获取,如 https://devops.aliyun.com/organization/【OrganizationId】 | 5ebbc0228123212b59xxxxx | 
| maxResults | long | 否 | 最大返回值,最大值 50 | 20 | 
| nextToken | string | 否 | 分页 token | aaaaaaaaaa | 
返回参数
示例
正常返回示例
JSON格式
{
  "requestId": "ASSDS-ASSASX-XSAXSA-XSAXSAXS",
  "errorMessage": "\"\"",
  "success": true,
  "errorCode": "\"\"",
  "pipelineGroups": [
    {
      "name": "流水线分组名称",
      "id": 111,
      "createTime": 1586863220000
    }
  ],
  "totalCount": 50,
  "nextToken": "ssaassasass"
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 403 | Forbidden.UserNotInCurrentOrganization | The user is not in the organization and is not authorized to perform the operation. | 当前用户不在该企业中,无权进行操作。 | 
| 404 | InvalidOrganization.NotFound | The organization is not found. | 企业不存在,请检查企业ID是否正确 | 
| 404 | InvalidUser.UserNotInCurrentOrganization | The current user is not in the organization and has no permission to operate. | 当前用户不在该企业中,无权进行操作。 | 
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 | 
|---|
暂无变更历史
