Queries the execution records of delivery chains.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListChainInstance |
The operation that you want to perform. Set this parameter to ListChainInstance. |
RegionId | String | Yes | cn-shanghai |
The region ID of the Container Registry instance. |
InstanceId | String | Yes | cri-kmsiwlxxdcva**** |
The ID of the Container Registry instance. |
PageNo | Integer | No | 1 |
The page number of the page to return. |
PageSize | Integer | No | 30 |
The number of entries to return on each page. |
RepoNamespaceName | String | No | test-namespace |
The name of the namespace. |
RepoName | String | No | test-repo |
The name of the image repository. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 838D1602-6D8F-47FB-B60A-656645D2**** |
The ID of the request. |
Code | String | success |
The response code. |
PageNo | Integer | 1 |
The page number of the returned page. |
IsSuccess | Boolean | true |
Indicates whether the operation is successful. |
InstanceId | String | cri-kmsiwlxxdcva**** |
The ID of the Container Registry instance. |
PageSize | Integer | 30 |
The number of entries returned on each page. |
TotalCount | Integer | 1 |
The total number of returned entries. |
ChainInstances | Array of ChainInstances |
The list of the execution records of delivery chains. |
|
EndTime | Long | 1636685856000 |
The time when the delivery chain is completed. |
Status | String | COMPLETE |
The status of the delivery chain. Valid values:
|
StartTime | Long | 1636685776000 |
The time when the delivery chain started. |
Result | String | SUCCESS |
The execution result of the delivery chain. Valid values:
|
ChainInstanceId | String | F4CF4DDB-BEF2-5575-****-******* |
The execution record ID of the delivery chain. |
RepoNamespaceName | String | test-ns |
The name of the namespace. |
RepoName | String | test-repo |
The name of the repository. |
Chain | Object |
The execution record of the delivery chain. |
|
ChainId | String | chi-m42gbku0**** |
The ID of the delivery chain. |
ChainName | String | test-chain |
The name of the delivery chain. |
Version | Long | 1 |
The version of the delivery chain. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ListChainInstance
&InstanceId=cri-kmsiwlxxdcva****
&PageNo=1
&PageSize=30
&RepoNamespaceName=test-namespace
&RepoName=test-repo
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ListChainInstanceResponse>
<RequestId>838D1602-6D8F-47FB-B60A-656645D2****</RequestId>
<Code>success</Code>
<PageNo>1</PageNo>
<IsSuccess>true</IsSuccess>
<InstanceId>cri-kmsiwlxxdcva****</InstanceId>
<PageSize>30</PageSize>
<TotalCount>1</TotalCount>
<ChainInstances>
<EndTime>1636685856000</EndTime>
<Status>COMPLETE</Status>
<StartTime>1636685776000</StartTime>
<Result>SUCCESS</Result>
<ChainInstanceId>F4CF4DDB-BEF2-5575-****-*******</ChainInstanceId>
<RepoNamespaceName>test-ns</RepoNamespaceName>
<RepoName>test-repo</RepoName>
<Chain>
<ChainId>chi-m42gbku0****</ChainId>
<ChainName>test-chain</ChainName>
<Version>1</Version>
</Chain>
</ChainInstances>
</ListChainInstanceResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "838D1602-6D8F-47FB-B60A-656645D2****",
"Code" : "success",
"PageNo" : 1,
"IsSuccess" : true,
"InstanceId" : "cri-kmsiwlxxdcva****",
"PageSize" : 30,
"TotalCount" : 1,
"ChainInstances" : {
"EndTime" : 1636685856000,
"Status" : "COMPLETE",
"StartTime" : 1636685776000,
"Result" : "SUCCESS",
"ChainInstanceId" : "F4CF4DDB-BEF2-5575-****-*******",
"RepoNamespaceName" : "test-ns",
"RepoName" : "test-repo",
"Chain" : {
"ChainId" : "chi-m42gbku0****",
"ChainName" : "test-chain",
"Version" : 1
}
}
}
Error codes
For a list of error codes, visit the API Error Center.