Container Registry API, REST: LifecyclePolicy.ListDryRunResults
Retrieves the list of the dry run results.
HTTP request
GET https://container-registry.api.cloud.yandex.net/container-registry/v1/dryRunLifecyclePolicyResults
Query parameters
Field |
Description |
lifecyclePolicyId |
string Required field. ID of the lifecycle policy. |
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters dry run results listed in the response. The expression must specify:
|
orderBy |
string Sorting the list by DryRunLifecyclePolicyResult.runAt and DryRunLifecyclePolicyResult.affectedImagesCount fields. |
Response
HTTP Code: 200 - OK
{
"dryRunLifecyclePolicyResults": [
{
"dryRunLifecyclePolicyResultId": "string",
"lifecyclePolicyId": "string",
"runAt": "string",
"affectedImagesCount": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
dryRunLifecyclePolicyResults[] |
List of results of dry runs of a lifecycle policy. |
nextPageToken |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
DryRunLifecyclePolicyResult
Field |
Description |
dryRunLifecyclePolicyResultId |
string ID of the dry run result of the lifecycle policy. |
lifecyclePolicyId |
string ID of the lifecycle policy. |
runAt |
string (date-time) Time of the getting result. String in RFC3339 To work with values in this field, use the APIs described in the |
affectedImagesCount |
string (int64) Count of affected images. |