Unlock the Power of AI

1 million free tokens

88% Price Reduction

Activate Now

ListRepoBuildRecord

Updated at: 2024-12-27 02:38

Queries image building records of an image repository.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
OperationAccess levelResource typeCondition keyAssociated operation
cr:ListRepositoryBuildget
*Repository
acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the instance.

cri-kmsiwlxxdcva****
RepoIdstringYes

The ID of the repository.

crr-tquyps22md8****
PageNointegerNo

The number of the page to return.

1
PageSizeintegerNo

The number of entries to return on each page.

30

Response parameters

ParameterTypeDescriptionExample
ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

9D23DEDF-E91D-434B-B7D5-9D12C648D166
Codestring

The return value.

success
PageNointeger

The page number of the returned page.

1
IsSuccessboolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request fails.
true
PageSizeinteger

The number of entries returned per page.

30
TotalCountstring

The total number of returned entries.

1
BuildRecordsarray<object>

The list of image building records.

BuildRecordsobject
EndTimestring

The time when the image building ended.

1572875610000
StartTimestring

The time when the image building started.

1572872207000
BuildStatusstring

The status of the image building.

SUCCESS
BuildRecordIdstring

The ID of the image building record.

537e08ab-735e-415f-b7c2-160eb87f8****
Imageobject

The information about the image.

RepoNamespaceNamestring

The name of the namespace to which the repository belongs.

test
ImageTagstring

The tag of the image.

v0.1
RepoIdstring

The ID of the repository.

crr-gzsrlevmvoaq****
RepoNamestring

The name of the repository.

test

Examples

Sample success responses

JSONformat

{
  "RequestId": "9D23DEDF-E91D-434B-B7D5-9D12C648D166",
  "Code": "success",
  "PageNo": 1,
  "IsSuccess": true,
  "PageSize": 30,
  "TotalCount": "1",
  "BuildRecords": [
    {
      "EndTime": "1572875610000",
      "StartTime": "1572872207000",
      "BuildStatus": "SUCCESS",
      "BuildRecordId": "537e08ab-735e-415f-b7c2-160eb87f8****",
      "Image": {
        "RepoNamespaceName": "test",
        "ImageTag": "v0.1",
        "RepoId": "crr-gzsrlevmvoaq****",
        "RepoName": "test"
      }
    }
  ]
}

Error codes

HTTP status codeError codeError message
HTTP status codeError codeError message
403NoPrivilegeAccess denied for this user.
500SystemErrorUnknown error.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
Change timeSummary of changesOperation
No change history
  • On this page (1)
  • Debugging
  • Authorization information
  • Request parameters
  • Response parameters
  • Examples
  • Error codes
  • Change history
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare