接口功能介绍
查询流水线详情
接口约束
无
URI
GET /v1/pipelines/pipelineRecorddetail
路径参数
无
Query参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
pipelineRecordId | 是 | String | 流水线记录ID,数据来源于执行流水线返回的data属性值 |
请求参数
请求头header参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
regionId | 是 | String | 资源池ID,请参考调用前必知-概述 | bb9fdb42056f11eda1610242ac110002 |
请求体body参数
无
响应参数
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
statusCode | Integer | 响应编码 | 2000 | |
message | String | 消息内容 | ||
returnObj | Object | 返回对象 | returnObj | |
error | String | 调用错误时返回的错误编码 |
表 returnObj
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
appCode | String | 应用编码 | ||
appId | String | 应用ID | ||
branchName | String | 部署分支 | ||
createStaff | String | 创建人 | ||
createTime | String | 创建时间 | ||
deployEnvId | String | 部署环境ID | ||
deployEnvName | String | 部署环境名称 | ||
endTime | String | 执行结束时间 | ||
pipelineOrderId | String | 流水线ID | ||
pipelineOrderName | String | 流水线名称 | ||
pipelineRecordId | String | 流水线执行记录ID | ||
stageList | Array of Strings | 流程列表 | stageList | |
startTime | String | 执行开始时间 | ||
statusCd | String | 执行状态 11 等待执行 12 执行中 13 执行成功 14 执行失败 15 等待执行 | ||
statusCdName | String | 执行状态名称 | ||
tenantId | Integer | 租户ID | 0 | |
updateStaff | String | 更新人 | ||
updateTime | String | 更新时间 | ||
msg | String | 暂无描述 |
表 stageList
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
category | String | 流程类型 | ||
name | String | 流程名称 | ||
pipelineRecordId | String | 执行记录ID | ||
sort | Integer | 流程顺序 | 0 | |
statusCd | String | 流程状态 11 等待执行 12 执行中 13 执行成功 14 执行失败 15 等待执行 | ||
stagestatusCdName | String | 流程状态名称 |
枚举参数
无
请求示例
请求url
无
请求头header
无
请求体body
无
响应示例
{
"statusCode": 2000,
"message": "成功",
"returnObj": {
"pipelineRecordId": "test_868fb81cb631",
"appId": "test_27cecf19d7ca",
"appCode": "test_d6ad496abc2b",
"deployEnvId": "test_013f5ed063a2",
"deployEnvName": "test_507133972b32",
"pipelineOrderId": "test_ba68026afb09",
"pipelineOrderName": "test_071167fb669d",
"branchName": "test_77eaea78a19e",
"startTime": "2032-04-20 04: 19: 48",
"endTime": "2026-03-04 17: 22: 51",
"tenantId": 16,
"statusCd": "test_756127fcd96d",
"statusCdName": "test_c0abf8edb1cd",
"createTime": "2015-09-09 10: 42: 30",
"createStaff": "test_49708667383d",
"updateTime": "2017-10-21 05: 08: 01",
"updateStaff": "test_dc98dd3d650c",
"stageList": [
{
"pipelineRecordId": "test_5e5bf2d29823",
"name": "test_3ecdddeb713d",
"category": "test_09615fd33baf",
"sort": 74,
"statusCd": "test_ae083b025d62",
"statusCdName": "test_8db0c9ed4d3d"
}
]
}
}
状态码
请参考 状态码
错误码
请参考 错误码