GET
/
organizations
/
{organization_name}
/
projects
/
{project_name}
/
containers
curl --request GET \
  --url https://api.salad.com/api/public/organizations/{organization_name}/projects/{project_name}/containers \
  --header 'Salad-Api-Key: <api-key>'
{
  "items": [
    {
      "id": "500dec9c-aaf3-4a0b-aa7f-de6483d0b9b1",
      "name": "sim1",
      "display_name": "Simulation 1",
      "container": {
        "image": "acme-corp/anvil-drop-simulator:v65535",
        "resources": {
          "cpu": 1,
          "memory": 2048
        },
        "command": [],
        "size": 1024,
        "hash": 1311768467294899700
      },
      "restart_policy": "always",
      "replicas": 1,
      "current_state": {
        "status": "stopped",
        "start_time": "2020-07-04T19:00:00Z",
        "finish_time": "2020-07-04T19:00:00Z",
        "instance_status_counts": {
          "allocating_count": 1,
          "creating_count": 1,
          "running_count": 1,
          "stopping_count": 1
        }
      },
      "create_time": "2020-07-04T19:00:00Z",
      "update_time": "2020-07-04T19:00:00Z",
      "version": 1
    },
    {
      "id": "b697f678-b987-4992-bbbf-d6dda171b34a",
      "name": "sim2",
      "display_name": "Simulation 2",
      "container": {
        "image": "acme-corp/anvil-drop-simulator:v65536",
        "resources": {
          "cpu": 1,
          "memory": 2048
        },
        "command": [],
        "size": 1024,
        "hash": 1311768467294899700
      },
      "autostart_policy": true,
      "restart_policy": "always",
      "replicas": 1,
      "current_state": {
        "status": "stopped",
        "start_time": "2020-07-04T19:00:00Z",
        "finish_time": "2020-07-04T19:00:00Z",
        "instance_status_counts": {
          "allocating_count": 1,
          "creating_count": 1,
          "running_count": 1,
          "stopping_count": 1
        }
      },
      "create_time": "2020-07-04T19:00:00Z",
      "update_time": "2020-07-04T19:00:00Z",
      "version": 2
    }
  ]
}

Authorizations

Salad-Api-Key
string
headerrequired

Path Parameters

organization_name
string
required

The unique organization name

project_name
string
required

The unique project name

Response

200 - application/json
items
object[]
required