Queries the status of an image build task for a repository.
Request information
Request line
GET /repos/[RepoNamespace]/[RepoName]/build/[BuildId]/status HTTP/1.1
Request line parameters
Parameter | Type | Required | Description |
---|---|---|---|
RepoNamespace | String | Yes | The name of the namespace. |
RepoName | String | Yes | The name of the repository. |
BuildId | String | Yes | The ID of the image build task. |
Operation-specific request headers
None.
Request body
None.
Response information
Response line
HTTP/1.1 200 OK
Operation-specific response headers
None.
Response body
{
"data": {
"buildStatus": String
},
"requestId": String
}
Response body parameters
Parameter | Type | Description |
---|---|---|
buildStatus | String | The status of the image build task. |
requestId | String | The ID of the request. |
Examples
Sample requests
GET /repos/[RepoNamespace]/[RepoName]/build/[BuildId]/status HTTP/1.1
<Common request headers>
Sample responses
HTTP/1.1 200 OK
<Common response headers>
{
"data": {
"buildStatus": "BUILDING"
},
"requestId": "BFB83EFA-ABF0-4943-AC18-4D32F1F60E5D"
}