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
Parameter | Description |
---|---|
containerId | Required. ID of the container to return. To get a container ID make a 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 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Name of the container. The name is unique within the folder. |
description | string Description of the container. |
labels | object Container labels as |
url | string URL that needs to be requested to call the container. |
status | string Status of the container.
|