v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Container as a Service

List containers

List all containers in the specified project and region.

get/cloud/v1/caas/{project_id}/{region_id}/containers

Path parameters

project_idinteger required

Project id

Example:1

Project id

region_idinteger required

Region id

Example:1

Region id

Query parameters

limitinteger

Optional. Limit the number of returned items

Example:1000

Optional. Limit the number of returned items

offsetinteger

Optional. Offset value is used to exclude the first set of records from the result

Optional. Offset value is used to exclude the first set of records from the result

Response

OK

countinteger required

Number of objects

Example response

{
  "count": 1,
  "results": [
    {
      "address": "some.example.com",
      "commands": "python3 app.py -m test",
      "created_at": "2021-01-01T00:00:00Z",
      "deploy_status": {
        "ready": 1,
        "total": 2
      },
      "description": "My first container",
      "envs": {
        "ENVIRONMENT_VARIABLE": "value 2",
        "ENV_VAR": "value 1"
      },
      "flavor": "250mCPU-512MiB",
      "image": "nginx:latest",
      "listening_port": 80,
      "logging": {
        "destination_region_id": 1,
        "enabled": true,
        "retention_policy": {
          "period": 45
        },
        "topic_name": "my-log-name"
      },
      "name": "nginx",
      "namespace": "default",
      "pull_secret": "my-secret",
      "source": "cloud",
      "status": "RUNNING",
      "status_message": "Some container status",
      "timeout": 5
    }
  ]
}