BareMetal API, REST: Image.List
Retrieves the list of Image resources in the specified folder.
HTTP request
GET https://baremetal.api.cloud.yandex.net/baremetal/v1alpha/images
Query parameters
|
Field |
Description |
|
folderId |
string ID of the folder to list images in. To get the folder ID, use a yandex.cloud.resourcemanager.v1.FolderService.List request. |
|
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 |
|
orderBy |
string By which column the listing should be ordered and in which direction, |
|
filter |
string A filter expression that filters resources listed in the response. Each condition has the form
|
Response
HTTP Code: 200 - OK
{
"images": [
{
"id": "string",
"folderId": "string",
"name": "string",
"description": "string",
"checksum": "string",
"status": "string",
"createdAt": "string",
"labels": "object"
}
],
"nextPageToken": "string"
}
|
Field |
Description |
|
images[] |
List of Image resources. |
|
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 |
Image
An Image resource.
|
Field |
Description |
|
id |
string ID of the image. |
|
folderId |
string ID of the folder that the image belongs to. |
|
name |
string Name of the image. |
|
description |
string Description of the image. |
|
checksum |
string MD5 checksum of the image. |
|
status |
enum (Status) Status of the image.
|
|
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
|
labels |
object (map<string, string>) Resource labels as |