Serverless Containers Service, REST: Container.Get
Returns the specified container.
To get the list of all available containers, make a List request.
HTTP request
GET https://serverless-containers.api.cloud.yandex.net/containers/v1/containers/{containerId}
Path parameters
Field |
Description |
containerId |
string Required field. ID of the container to return. To get a container ID make a ContainerService.List request. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"url": "string",
"status": "string"
}
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.
|