Container Registry API, gRPC: ImageService.List
Retrieves the list of Image resources in the specified registry or repository.
gRPC request
rpc List (ListImagesRequest) returns (ListImagesResponse)
ListImagesRequest
{
"registryId": "string",
"repositoryName": "string",
"folderId": "string",
"pageSize": "int64",
"pageToken": "string",
"filter": "string",
"orderBy": "string"
}
Field |
Description |
registryId |
string ID of the registry to list Docker images in.
To get the registry ID use a RegistryService.List request. |
repositoryName |
string Name of the repository to list Docker images in. To get the repository name use a RepositoryService.List request. |
folderId |
string ID of the folder to list Docker images in.
To get the folder ID use a yandex.cloud.resourcemanager.v1.FolderService.List request. |
pageSize |
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 resources listed in the response.
|
orderBy |
string |
ListImagesResponse
{
"images": [
{
"id": "string",
"name": "string",
"digest": "string",
"compressedSize": "int64",
"config": {
"id": "string",
"digest": "string",
"size": "int64",
"urls": [
"string"
]
},
"layers": [
{
"id": "string",
"digest": "string",
"size": "int64",
"urls": [
"string"
]
}
],
"tags": [
"string"
],
"createdAt": "google.protobuf.Timestamp"
}
],
"nextPageToken": "string"
}
Field |
Description |
images[] |
List of Image resources. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
Image
An Image resource. For more information, see Docker image.
Field |
Description |
id |
string Output only. ID of the Docker image. |
name |
string Name of the Docker image. |
digest |
string Content-addressable identifier of the Docker image. |
compressedSize |
int64 Compressed size of the Docker image, specified in bytes. |
config |
Configuration of the Docker image. |
layers[] |
Layers of the Docker image. |
tags[] |
string Tags of the Docker image. Each tag is unique within the repository. |
createdAt |
Output only. Creation timestamp in RFC3339 |
Blob
A Blob resource.
Field |
Description |
id |
string Output only. ID of the blob. |
digest |
string Content-addressable identifier of the blob. |
size |
int64 Size of the blob, specified in bytes. |
urls[] |
string List of blob urls. |