ListPipelineRelations_云效2020_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
暂无数据

请求语法

GET /organization/{organizationId}/{pipelineId}/pipelineRelations HTTP/1.1

路径参数

字段名称字段详情
organizationIdstring

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

示例值:5ebbc0228123212b59xxxxx参考取值来源:
    GetCodeupOrganization
    ListOrganizations
pipelineIdinteger<int64>

流水线 ID,可在流水线链接中获取,如 https://flow.aliyun.com/pipelines/【PipelineId】/current

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:11参考取值来源:
    ListPipelines
    AddPipelineRelations

请求参数

字段名称字段详情
relObjectTypestring

关联的资源类型,暂只支持 VARIABLE_GROUP

示例值:VARIABLE_GROUP枚举值:VARIABLE_GROUPOSS_APP_ID

返回参数

字段名称字段详情
requestIdstring

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

示例值:ASSDS-ASSASX-XSAXSA-XSAXSAXS
errorMessagestring

错误信息

示例值:""
errorCodestring

错误码

示例值:""
successboolean

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

示例值:true
pipelineRelationsarray<object>

变量组

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidParam.ParamNotPresent
The parameter is invalid.诊断
400
InvalidUser.NotFound
The user that is invoking the API service is not a registered user.诊断
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.诊断

变更历史

变更时间变更内容概要操作
2023-08-31
变更请求参数relObjectType

相关示例