下载日志接口

请求方法/请求路径

GET /ms/openapi/api/apigw/v3/projects/{projectId}/pipelines/{pipelineId}/builds/{buildId}/logs/download

资源描述

下载日志接口

输入参数说明

Query参数

参数名称参数类型必须参数说明默认值

tag

string

对应element ID

jobId

string

对应jobId

executeCount

integer

执行次数

Path参数

参数名称参数类型必须参数说明默认值

projectId

string

项目ID

pipelineId

string

流水线ID

buildId

string

构建ID

响应

HTTP代码说明参数类型

default

successful operation

parse error

请求样例

curl -X GET '[请替换为API地址栏请求地址]?tag={tag}&jobId={jobId}&executeCount={executeCount}' \
-H 'X-DEVOPS-UID:xxx'

HEADER样例

accept: application/json
Content-Type: application/json
X-DEVOPS-UID:xxx

最后更新于