Container Registry API, REST: Image.Get
Returns the specified Image resource.
To get the list of available Image resources, make a List request.
HTTP request
GET https://container-registry.api.yandexcloud.kz/container-registry/v1/images/{imageId}
Path parameters
|
Field |
Description |
|
imageId |
string Required field. ID of the Docker image resource to return. To get the Docker image ID use a ImageService.List request. |
Response
HTTP Code: 200 - OK
{
"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"
}
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 |
string (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 |
string (date-time) Output only. Creation timestamp in RFC3339 String in RFC3339 To work with values in this field, use the APIs described in the |
Blob
A Blob resource.
|
Field |
Description |
|
id |
string Output only. ID of the blob. |
|
digest |
string Content-addressable identifier of the blob. |
|
size |
string (int64) Size of the blob, specified in bytes. |
|
urls[] |
string List of blob urls. |