Queries image build records of a repository.


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 GetRepoBuildRecord

The operation that you want to perform. Set the value to GetRepoBuildRecord.

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.

Response parameters

Parameter Type Example Description
BuildRecordId String 79174CBA-8556-443A-8976-22C922D7****

The ID of the image build record.

Code String success

The return value.

EndTime Long 1568718698000

The time when the image build was completed.

Image Struct

The information about the image.

ImageTag String master

The tag of the image.

RepoName String test

The name of the repository.

RepoNamespaceName String test

The namespace to which the repository belongs.

IsSuccess Boolean true

Indicates whether the API call is successful.

RequestId String a78ec6fb-16ea-4649-93b7-f52afba7d9de1

The ID of the request.

StartTime Long 1568718468000

The time when the image build was started.

Status String true

The status of the image build.


Sample requests

&<Common request parameters>

Sample success responses

XML format

<RequestId>a78ec6fb-16ea-4649-93b7-f52afba7d9de1    </RequestId>

JSON format

    "Status": true,
    "IsSuccess": true,
    "EndTime": 1568718698000,
    "RequestId": "a78ec6fb-16ea-4649-93b7-f52afba7d9de1",
    "StartTime": 1568718468000,
    "BuildRecordId": "79174CBA-8556-443A-8976-22C922D7****",
    "Image": {
        "RepoNamespaceName": "test",
        "ImageTag": "master",
        "RepoName": "test"
    "Code": "success"

Error codes

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