Serverless Containers Service, REST: Container.List
Retrieves the list of containers in the specified folder.
HTTP request
GET https://serverless-containers.api.cloud.yandex.net/containers/v1/containers
Query parameters
Field |
Description |
folderId |
string Required field. ID of the folder to list containers in. To get a folder ID make 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 Default value: 100. |
pageToken |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters containers listed in the response. The expression must specify:
|
Response
HTTP Code: 200 - OK
{
"containers": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"url": "string",
"status": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
containers[] |
List of containers in the specified folder. |
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 |
Container
Field |
Description |
id |
string ID of the container. Generated at creation time. |
folderId |
string ID of the folder that the container belongs to. |
createdAt |
string (date-time) Creation timestamp for the container. String in RFC3339 To work with values in this field, use the APIs described in the |
name |
string Name of the container. The name is unique within the folder. |
description |
string Description of the container. |
labels |
object (map<string, string>) Container labels as |
url |
string URL that needs to be requested to call the container. |
status |
enum (Status) Status of the container.
|