Queries the status of an image build.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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-f52afba7d9de1

The ID of the image build record.

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

RepoId String Yes crr-jnzm47ihjmgcvnnu

The ID of the repository to which the image belongs.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The code returned for the request.

RequestId String 79174CBA-8556-443A-8976-22C922D7BE37

The ID of the request.

BuildStatus String success

The status of the image build.


Sample requests

http(s)://[Endpoint]/? Action=GetRepoBuildRecordStatus
&<Common request parameters>

Sample success responses

JSON format

    "BuildStatus": "success",
    "Code": "success",
    "IsSuccess": true,
    "RequestId": "79174CBA-8556-443A-8976-22C922D7BE37"

XML format


Error codes

For a list of error codes, visit the API Error Center.