获取某行后的日志

Request method/request path

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

Resource Description

Get the log after a certain line

Input parameter description

Query Parameters

Path Parameters

响应

request demo

curl -X GET '[API URL]?start={start}&debug={debug}&tag={tag}&jobId={jobId}&executeCount={executeCount}'

HEADER demo

accept: application/json
Content-Type: application/json

response demo-200

{
  "data" : {
    "timeUsed" : 0,
    "hasMore" : true,
    "subTags" : "string",
    "buildId" : "String",
    "finished" : true,
    "logs" : [ {
      "subTag" : "String",
      "jobId" : "String",
      "lineNo" : 0,
      "tag" : "String",
      "message" : "String",
      "priority" : "String",
      "executeCount" : 0,
      "timestamp" : 0
    } ],
    "status" : 0
  },
  "message" : "String",
  "status" : 0
}

Data return wrapper model log query model

Log query model

Log model

Last updated