Nebius Israel
Contact usConsole
  • GPU
  • Docs
© 2023 Nebius Israel Ltd
Container Registry
  • Getting started
  • Container Solution
  • Access management
  • Pricing policy
  • Troubleshooting
  • Questions and answers
  1. API reference
  2. REST
  3. LifecyclePolicy
  4. listDryRunResultAffectedImages

Container Registry API, REST: LifecyclePolicy.listDryRunResultAffectedImages

  • HTTP request
  • Path parameters
  • Query parameters
  • Response

Retrieves the list of the affected images.

HTTP requestHTTP request

GET https://container-registry.api.il.nebius.cloud/container-registry/v1/dryRunLifecyclePolicyResults/{dryRunLifecyclePolicyResultId}:affectedImages

Path parametersPath parameters

Parameter Description
dryRunLifecyclePolicyResultId

Required. ID of the dry run result of the lifecycle policy

The maximum string length in characters is 50.

Query parametersQuery 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.

ResponseResponse

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

List of affected images.

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

Layers of the Docker image.

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. The range of possible values is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

nextPageToken string

Token for getting the next page of the list. If the number of results is greater than the specified pageSize, use next_page_token as the value for the pageToken parameter in the next list request.

Each subsequent page will have its own next_page_token to continue paging through the results.

© 2023 Nebius Israel Ltd
In this article:
  • HTTP request
  • Path parameters
  • Query parameters
  • Response