Cloud Desktop API, REST: DesktopImage.List
Lists desktop images in the specified folder.
HTTP request
GET https://cloud-desktop.api.cloud.yandex.net/cloud-desktop/v1/images
Query parameters
Field |
Description |
folderId |
string Required field. ID of the folder to list desktop images in. |
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 |
filter |
string A filter expression that filters resources listed in the response.
|
orderBy |
string Sorting the list by DesktopImage.name, DesktopImage.createdAt and DesktopImage.status fields. |
Response
HTTP Code: 200 - OK
{
"desktopImages": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"status": "string",
"name": "string",
"labels": "string",
"storageSize": "string",
"minDiskSize": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
desktopImages[] |
List of desktop images. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
DesktopImage
A desktop image resource.
Field |
Description |
id |
string ID of the image. |
folderId |
string ID of the folder that the image belongs to. |
createdAt |
string (date-time) Creation timestamp in RFC3339 String in RFC3339 To work with values in this field, use the APIs described in the |
status |
enum (Status) Status of the image.
|
name |
string Name of the image. |
labels |
string Description of the image. |
storageSize |
string (int64) Size of the image, specified in bytes. |
minDiskSize |
string (int64) Minimum disk size in bytes required to use the image. |