Method listDryRunResultAffectedImages
Retrieves the list of the affected images.
HTTP request
GET https://container-registry.api.cloud.yandex.net/container-registry/v1/dryRunLifecyclePolicyResults/{dryRunLifecyclePolicyResultId}:affectedImages
Path parameters
Parameter | Description |
---|---|
dryRunLifecyclePolicyResultId | Required. ID of the dry run result of the lifecycle policy The maximum string length in characters is 50. |
Query parameters
Parameter | Description |
---|---|
pageSize | The maximum number of results per page to return. If the number of available results is larger than page_size , the service returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 1000, inclusive. |
pageToken | Page token. To get the next page of results, set page_token to the nextPageToken returned by a previous list request. The maximum string length in characters is 100. |
filter | A filter expression that filters affected images listed in the response. The expression must specify: 1. The field name. Currently you can use filtering only on LifecyclePolicy.name field. 2. An = operator. 3. The value in double quotes (" ). Must be 3-63 characters long and match the regular expression [a-z][-a-z0-9]{1,61}[a-z0-9] . The maximum string length in characters is 1000. |
orderBy | Sorting the list by LifecyclePolicy.name and LifecyclePolicy.createdAt fields. The default sorting order is ascending. The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"affectedImages": [
{
"id": "string",
"name": "string",
"digest": "string",
"compressedSize": "string",
"config": {
"id": "string",
"digest": "string",
"size": "string",
"urls": [
"string"
]
},
"layers": [
{
"id": "string",
"digest": "string",
"size": "string",
"urls": [
"string"
]
}
],
"tags": [
"string"
],
"createdAt": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
affectedImages[] | object An Image resource. For more information, see Docker image. |
affectedImages[]. id |
string Output only. ID of the Docker image. |
affectedImages[]. name |
string Name of the Docker image. The name is unique within the registry. |
affectedImages[]. digest |
string Content-addressable identifier of the Docker image. |
affectedImages[]. compressedSize |
string (int64) Compressed size of the Docker image, specified in bytes. |
affectedImages[]. config |
object Configuration of the Docker image. A Blob resource. |
affectedImages[]. config. id |
string Output only. ID of the blob. |
affectedImages[]. config. digest |
string Content-addressable identifier of the blob. |
affectedImages[]. config. size |
string (int64) Size of the blob, specified in bytes. |
affectedImages[]. config. urls[] |
string List of blob urls. |
affectedImages[]. layers[] |
object A Blob resource. |
affectedImages[]. layers[]. id |
string Output only. ID of the blob. |
affectedImages[]. layers[]. digest |
string Content-addressable identifier of the blob. |
affectedImages[]. layers[]. size |
string (int64) Size of the blob, specified in bytes. |
affectedImages[]. layers[]. urls[] |
string List of blob urls. |
affectedImages[]. tags[] |
string Tags of the Docker image. Each tag is unique within the repository. |
affectedImages[]. createdAt |
string (date-time) Output only. Creation timestamp in RFC3339 text format. String in RFC3339 text format. |
nextPageToken | string Token for getting the next page of the list. If the number of results is greater than the specified pageSize, use Each subsequent page will have its own |