Queries the status of an image build.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetRepoBuildRecordStatus |
The operation that you want to perform. Set the value to GetRepoBuildRecordStatus. |
BuildRecordId | String | Yes | a78ec6fb-16ea-4649-93b7-f52afba7d**** |
The ID of the image build record. |
InstanceId | String | Yes | cri-kmsiwlxxdcva**** |
The ID of the Container Registry instance. |
RegionId | String | Yes | cn-shanghai |
The ID of the region. |
RepoId | String | Yes | crr-jnzm47ihjmgc**** |
The ID of the repository. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
BuildStatus | String | success |
The status of the build. |
Code | String | success |
The return value. |
IsSuccess | Boolean | true |
Indicates whether the API call is successful. |
RequestId | String | 79174CBA-8556-443A-8976-22C922D7BE37 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=GetRepoBuildRecordStatus
&BuildRecordId=a78ec6fb-16ea-4649-93b7-f52afba7d****
&InstanceId=cri-kmsiwlxxdcva****
&RegionId=cn-shanghai
&RepoId=crr-jnzm47ihjmgc****
&<Common request parameters>
Sample success responses
XML
format
<IsSuccess>true</IsSuccess>
<RequestId>79174CBA-8556-443A-8976-22C922D7BE37</RequestId>
<BuildStatus>success</BuildStatus>
<Code>success</Code>
JSON
format
{
"IsSuccess": true,
"RequestId": "79174CBA-8556-443A-8976-22C922D7BE37",
"BuildStatus": "success",
"Code": "success"
}
Error codes
For a list of error codes, visit the API Error Center.