Refreshes the statistics on container assets on the Assets page.

Debugging

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

Request parameters

Parameter Type Required Example Description
Action String Yes RefreshContainerAsserts

The operation that you want to perform.

Set the value to RefreshContainerAsserts.

AssetType String No 6

The type of the asset. Valid values:

  • 6: container images
  • 7: containers
Note If this parameter is not specified, the statistics on all container assets are refreshed.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String AD271C07-4ACE-413D-AA9B-F14FD3B7717F

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<RefreshContainerAssertsResponse>
      <RequestId>AD271C07-4ACE-413D-AA9B-F14FD3B7717F</RequestId>
</RefreshContainerAssertsResponse>

JSON format

{
    "RequestId": "AD271C07-4ACE-413D-AA9B-F14FD3B7717F"
}

Error codes

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