All Products
Document Center


Last Updated: Jan 22, 2020


You can call this operation to query the status of a build.

Request information

Request line

  1. GET /repos/[RepoNamespace]/[RepoName]/build/[BuildId]/status HTTP/1.1

Request parameters

Parameter Type Required Description
RepoNamespace String Yes The namespace to which the image repository belongs.
RepoName String Yes The name of the image repository.
BuildId String Yes The ID of the build that you want to query.

Custom request headers


Request body


Response information

Response line

  1. HTTP/1.1 200 OK

Custom response headers


Response body

  1. {
  2. "data": {
  3. "buildStatus": String
  4. },
  5. "requestId": String
  6. }

Response body description

Parameter Type Description
buildStatus String The status of the build.
requestId String The unique ID of the request.


Sample requests

  1. GET /repos/[RepoNamespace]/[RepoName]/build/[BuildId]/status HTTP/1.1
  2. <Common request headers>

Sample responses

  1. HTTP/1.1 200 OK
  2. <Common response headers>
  3. {
  4. "data": {
  5. "buildStatus": "BUILDING"
  6. },
  7. "requestId": "BFB83EFA-ABF0-4943-AC18-4D32F1F60E5D"
  8. }