Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.24 KB

clean-up-file-hosting-tasks.md

File metadata and controls

60 lines (42 loc) · 1.24 KB

清理文件托管任务

请求方法/请求路径

PUT /ms/openapi/api/apigw/v3/artifactory/fileTask/projects/{projectId}/pipelines/{pipelineId}/builds/{buildId}/tasks/{taskId}/clear

资源描述

清理文件托管任务

输入参数说明

Path参数

参数名称 参数类型 必须 参数说明 默认值
projectId string projectId
pipelineId string pipelineId
buildId string buildId
taskId string taskId

响应

HTTP代码 说明 参数类型
200 successful operation 数据返回包装模型Boolean

请求样例

curl -X PUT '[请替换为上方API地址栏请求地址]' \
-H 'X-DEVOPS-UID:xxx'

HEADER样例

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

返回样例-200

{
  "data" : true,
  "message" : "String",
  "status" : 0
}

数据返回包装模型Boolean

参数名称 参数类型 必须 参数说明
data boolean 数据
message string 错误信息
status integer 状态码