Servers API


Add a dedicated server to an environment

POST /servers

Parameters

environment
required: true
Environment ID
role
required: true
scope: server
Role of the new server (app, db_slave, util)
location
required: false
scope: server
Availability zone for the new server
name
required: false
scope: server
Name of the server. Required for utility servers
flavor
required: true
scope: server
Size of the new server
dedicated
required: false
scope: server
Should the new instance have dedicated tenancy
iam_role_id
required: false
scope: server
ID of the IAM role to boot the server with
ip_id
required: false
scope: server
ID of the IP address to attach to the server
subnet_id
required: false
scope: server
ID of the Subnet to provision the server id. If specified, the subnet's location will override the location specified here
snapshot
required: false
ID of the snapshot for the server's volume

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
            "environment": 4,
            "server": {
              "name": "new_util",
              "flavor": "c4.large",
              "role": "util",
              "dedicated": true
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "206b1c7e-9f28-4bae-b1e8-08c7f9f66d79",
              "created_at": "2018-05-29T10:48:11+00:00",
              "started_at": "2018-05-29T10:48:11+00:00",
              "finished_at": "2018-05-29T10:48:16+00:00",
              "message": null,
              "request_status": "Finished: Provision server (206b1c7e-9f28-4bae-b1e8-08c7f9f66d79) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:48:17+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/206b1c7e-9f28-4bae-b1e8-08c7f9f66d79/dependencies",
              "stages": "https://api.engineyard.com/requests/206b1c7e-9f28-4bae-b1e8-08c7f9f66d79/stages",
              "account": "https://api.engineyard.com/accounts/4e695892-3b42-4108-ab29-900a4dcecd1b",
              "requester": "https://api.engineyard.com/requests/206b1c7e-9f28-4bae-b1e8-08c7f9f66d79/requester",
              "messages": "https://api.engineyard.com/requests/206b1c7e-9f28-4bae-b1e8-08c7f9f66d79/messages",
              "callback_url": "https://api.engineyard.com/requests/206b1c7e-9f28-4bae-b1e8-08c7f9f66d79/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/24"
            }
          }
            
          








Add a server in a specific subnet

POST /servers

Parameters

environment
required: true
Environment ID
role
required: true
scope: server
Role of the new server (app, db_slave, util)
location
required: false
scope: server
Availability zone for the new server
name
required: false
scope: server
Name of the server. Required for utility servers
flavor
required: true
scope: server
Size of the new server
dedicated
required: false
scope: server
Should the new instance have dedicated tenancy
iam_role_id
required: false
scope: server
ID of the IAM role to boot the server with
ip_id
required: false
scope: server
ID of the IP address to attach to the server
subnet_id
required: false
scope: server
ID of the Subnet to provision the server id. If specified, the subnet's location will override the location specified here
snapshot
required: false
ID of the snapshot for the server's volume

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
            "environment": 2,
            "server": {
              "subnet_id": "f918feb2-10a5-4a8b-a73c-b0f28fc349e4",
              "name": "new_util",
              "flavor": "m3.large",
              "role": "util"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "95e9c4bd-e9c3-4934-a0ff-ae2e5de33074",
              "created_at": "2018-05-29T10:47:03+00:00",
              "started_at": "2018-05-29T10:47:03+00:00",
              "finished_at": "2018-05-29T10:47:10+00:00",
              "message": null,
              "request_status": "Finished: Provision server (95e9c4bd-e9c3-4934-a0ff-ae2e5de33074) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:47:10+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/95e9c4bd-e9c3-4934-a0ff-ae2e5de33074/dependencies",
              "stages": "https://api.engineyard.com/requests/95e9c4bd-e9c3-4934-a0ff-ae2e5de33074/stages",
              "account": "https://api.engineyard.com/accounts/c6ce2dc3-b44a-4809-bb9f-8995e2ead0bb",
              "requester": "https://api.engineyard.com/requests/95e9c4bd-e9c3-4934-a0ff-ae2e5de33074/requester",
              "messages": "https://api.engineyard.com/requests/95e9c4bd-e9c3-4934-a0ff-ae2e5de33074/messages",
              "callback_url": "https://api.engineyard.com/requests/95e9c4bd-e9c3-4934-a0ff-ae2e5de33074/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/12"
            }
          }
            
          








Add a server to an environment

POST /servers

Parameters

environment
required: true
Environment ID
role
required: true
scope: server
Role of the new server (app, db_slave, util)
location
required: false
scope: server
Availability zone for the new server
name
required: false
scope: server
Name of the server. Required for utility servers
flavor
required: true
scope: server
Size of the new server
dedicated
required: false
scope: server
Should the new instance have dedicated tenancy
iam_role_id
required: false
scope: server
ID of the IAM role to boot the server with
ip_id
required: false
scope: server
ID of the IP address to attach to the server
subnet_id
required: false
scope: server
ID of the Subnet to provision the server id. If specified, the subnet's location will override the location specified here
snapshot
required: false
ID of the snapshot for the server's volume

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
            "environment": 1,
            "server": {
              "name": "new_util",
              "flavor": "m3.large",
              "role": "util"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "5ec7c563-97cc-4833-b5e7-75e68389a6f5",
              "created_at": "2018-05-29T10:46:29+00:00",
              "started_at": "2018-05-29T10:46:29+00:00",
              "finished_at": "2018-05-29T10:46:35+00:00",
              "message": null,
              "request_status": "Finished: Provision server (5ec7c563-97cc-4833-b5e7-75e68389a6f5) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:46:35+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/5ec7c563-97cc-4833-b5e7-75e68389a6f5/dependencies",
              "stages": "https://api.engineyard.com/requests/5ec7c563-97cc-4833-b5e7-75e68389a6f5/stages",
              "account": "https://api.engineyard.com/accounts/5d376793-29bc-41cf-bbbd-6c5156ca2427",
              "requester": "https://api.engineyard.com/requests/5ec7c563-97cc-4833-b5e7-75e68389a6f5/requester",
              "messages": "https://api.engineyard.com/requests/5ec7c563-97cc-4833-b5e7-75e68389a6f5/messages",
              "callback_url": "https://api.engineyard.com/requests/5ec7c563-97cc-4833-b5e7-75e68389a6f5/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/6"
            }
          }
            
          








Add a server to an environment with an ip

POST /servers

Parameters

environment
required: true
Environment ID
role
required: true
scope: server
Role of the new server (app, db_slave, util)
location
required: false
scope: server
Availability zone for the new server
name
required: false
scope: server
Name of the server. Required for utility servers
flavor
required: true
scope: server
Size of the new server
dedicated
required: false
scope: server
Should the new instance have dedicated tenancy
iam_role_id
required: false
scope: server
ID of the IAM role to boot the server with
ip_id
required: false
scope: server
ID of the IP address to attach to the server
subnet_id
required: false
scope: server
ID of the Subnet to provision the server id. If specified, the subnet's location will override the location specified here
snapshot
required: false
ID of the snapshot for the server's volume

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
            "environment": 3,
            "server": {
              "ip_id": 4,
              "flavor": "m3.large",
              "role": "app"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "b453390f-c27f-49e6-93bf-3e2a886cc33f",
              "created_at": "2018-05-29T10:47:36+00:00",
              "started_at": "2018-05-29T10:47:36+00:00",
              "finished_at": "2018-05-29T10:47:43+00:00",
              "message": null,
              "request_status": "Finished: Provision server (b453390f-c27f-49e6-93bf-3e2a886cc33f) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:47:43+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/b453390f-c27f-49e6-93bf-3e2a886cc33f/dependencies",
              "stages": "https://api.engineyard.com/requests/b453390f-c27f-49e6-93bf-3e2a886cc33f/stages",
              "account": "https://api.engineyard.com/accounts/4e3142c3-c25b-4ae8-804c-a530d32b4160",
              "requester": "https://api.engineyard.com/requests/b453390f-c27f-49e6-93bf-3e2a886cc33f/requester",
              "messages": "https://api.engineyard.com/requests/b453390f-c27f-49e6-93bf-3e2a886cc33f/messages",
              "callback_url": "https://api.engineyard.com/requests/b453390f-c27f-49e6-93bf-3e2a886cc33f/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/18"
            }
          }
            
          








Add a server with an assigned IAM role

POST /servers

Parameters

environment
required: true
Environment ID
role
required: true
scope: server
Role of the new server (app, db_slave, util)
location
required: false
scope: server
Availability zone for the new server
name
required: false
scope: server
Name of the server. Required for utility servers
flavor
required: true
scope: server
Size of the new server
dedicated
required: false
scope: server
Should the new instance have dedicated tenancy
iam_role_id
required: false
scope: server
ID of the IAM role to boot the server with
ip_id
required: false
scope: server
ID of the IP address to attach to the server
subnet_id
required: false
scope: server
ID of the Subnet to provision the server id. If specified, the subnet's location will override the location specified here
snapshot
required: false
ID of the snapshot for the server's volume

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
            "environment": 6,
            "server": {
              "name": "new_util",
              "flavor": "c4.large",
              "role": "util",
              "iam_role_id": "190e23c2-8d70-41ef-ae55-47ec15ac2907"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "fede215e-8470-4e3b-b459-855671fc4722",
              "created_at": "2018-05-29T10:49:19+00:00",
              "started_at": "2018-05-29T10:49:19+00:00",
              "finished_at": "2018-05-29T10:49:26+00:00",
              "message": null,
              "request_status": "Finished: Provision server (fede215e-8470-4e3b-b459-855671fc4722) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:49:26+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/fede215e-8470-4e3b-b459-855671fc4722/dependencies",
              "stages": "https://api.engineyard.com/requests/fede215e-8470-4e3b-b459-855671fc4722/stages",
              "account": "https://api.engineyard.com/accounts/46985ad6-4af0-4ac4-afda-13fc772d4dd3",
              "requester": "https://api.engineyard.com/requests/fede215e-8470-4e3b-b459-855671fc4722/requester",
              "messages": "https://api.engineyard.com/requests/fede215e-8470-4e3b-b459-855671fc4722/messages",
              "callback_url": "https://api.engineyard.com/requests/fede215e-8470-4e3b-b459-855671fc4722/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/36"
            }
          }
            
          








Apply updates to a server

POST /servers/:server/apply

Parameters

type
required: false
Type of chef run

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "instance_update",
              "id": "305ea3db-9c94-4d7d-8da2-40d652d3c53f",
              "created_at": "2018-05-29T10:51:46+00:00",
              "started_at": "2018-05-29T10:51:46+00:00",
              "finished_at": "2018-05-29T10:51:47+00:00",
              "message": null,
              "successful": true,
              "updated_at": "2018-05-29T10:51:47+00:00",
              "read_channel": null,
              "stage": null,
              "dependencies": null,
              "stages": null,
              "account": "https://api.engineyard.com/accounts/25fa8ecc-5f1b-4f7a-b15d-10a72f08a698",
              "requester": "https://api.engineyard.com/requests/305ea3db-9c94-4d7d-8da2-40d652d3c53f/requester",
              "messages": "https://api.engineyard.com/requests/305ea3db-9c94-4d7d-8da2-40d652d3c53f/messages",
              "callback_url": "https://api.engineyard.com/requests/305ea3db-9c94-4d7d-8da2-40d652d3c53f/callback",
              "progress": false,
              "resource": false
            }
          }
            
          








Boot a server from a snapshot

POST /servers

Parameters

environment
required: true
Environment ID
role
required: true
scope: server
Role of the new server (app, db_slave, util)
location
required: false
scope: server
Availability zone for the new server
name
required: false
scope: server
Name of the server. Required for utility servers
flavor
required: true
scope: server
Size of the new server
dedicated
required: false
scope: server
Should the new instance have dedicated tenancy
iam_role_id
required: false
scope: server
ID of the IAM role to boot the server with
ip_id
required: false
scope: server
ID of the IP address to attach to the server
subnet_id
required: false
scope: server
ID of the Subnet to provision the server id. If specified, the subnet's location will override the location specified here
snapshot
required: false
ID of the snapshot for the server's volume

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
            "environment": 5,
            "snapshot": 6,
            "server": {
              "name": "new_util",
              "flavor": "m3.medium",
              "role": "util"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "7f78f750-5e60-4295-b565-b89ff50917a6",
              "created_at": "2018-05-29T10:48:44+00:00",
              "started_at": "2018-05-29T10:48:44+00:00",
              "finished_at": "2018-05-29T10:48:50+00:00",
              "message": null,
              "request_status": "Finished: Provision server (7f78f750-5e60-4295-b565-b89ff50917a6) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:48:50+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/7f78f750-5e60-4295-b565-b89ff50917a6/dependencies",
              "stages": "https://api.engineyard.com/requests/7f78f750-5e60-4295-b565-b89ff50917a6/stages",
              "account": "https://api.engineyard.com/accounts/8d974259-4c5f-4eab-b045-3bb8c0cff953",
              "requester": "https://api.engineyard.com/requests/7f78f750-5e60-4295-b565-b89ff50917a6/requester",
              "messages": "https://api.engineyard.com/requests/7f78f750-5e60-4295-b565-b89ff50917a6/messages",
              "callback_url": "https://api.engineyard.com/requests/7f78f750-5e60-4295-b565-b89ff50917a6/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/30"
            }
          }
            
          








Deprovision a server

DELETE /servers/:server

Parameters

skip_snapshot
required: false
Choose whether or not a snapshot should be taken before destroying the server. Default is true

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "deprovision_server",
              "id": "f0ecb997-ee24-44a8-93ab-80282f787a30",
              "created_at": "2018-05-29T10:51:14+00:00",
              "started_at": "2018-05-29T10:51:14+00:00",
              "finished_at": "2018-05-29T10:51:16+00:00",
              "message": null,
              "request_status": "Finished: Deprovision server (f0ecb997-ee24-44a8-93ab-80282f787a30) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:51:16+00:00",
              "read_channel": null,
              "stage": "alerts.finish",
              "dependencies": "https://api.engineyard.com/requests/f0ecb997-ee24-44a8-93ab-80282f787a30/dependencies",
              "stages": "https://api.engineyard.com/requests/f0ecb997-ee24-44a8-93ab-80282f787a30/stages",
              "account": "https://api.engineyard.com/accounts/86a7c6c0-2d3f-4e68-91d3-24fc98045c43",
              "requester": "https://api.engineyard.com/requests/f0ecb997-ee24-44a8-93ab-80282f787a30/requester",
              "messages": "https://api.engineyard.com/requests/f0ecb997-ee24-44a8-93ab-80282f787a30/messages",
              "callback_url": "https://api.engineyard.com/requests/f0ecb997-ee24-44a8-93ab-80282f787a30/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/54"
            }
          }
            
          








Get a server

GET /servers/:server

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "server": {
              "id": 48,
              "created_at": "2018-05-29T10:50:22+00:00",
              "deleted_at": null,
              "deprovisioned_at": null,
              "disappeared_at": null,
              "enabled": true,
              "name": null,
              "private_hostname": "c37a0b66-8579-42e7-b52c-23c5dab1e2f6.engineyard.com",
              "provisioned_at": "2018-05-29T10:50:30+00:00",
              "ssh_port": 22,
              "updated_at": "2018-05-29T10:50:32+00:00",
              "provisioned_id": "i-181b8aa7",
              "state": "running",
              "account": "https://api.engineyard.com/accounts/9f903172-36ef-4bd7-9140-776f8d197212",
              "address": "https://api.engineyard.com/addresses/10",
              "devices": [
                {
                  "size": 30,
                  "delete_on_termination": true,
                  "volume_type": "gp2"
                },
                {
                  "device": "/dev/sdb",
                  "delete_on_termination": true,
                  "size": 25,
                  "volume_type": "gp2"
                },
                {
                  "device": "/dev/sdc",
                  "delete_on_termination": true,
                  "size": 8,
                  "volume_type": "gp2"
                },
                {
                  "device": "/dev/sdd",
                  "name": "ephemeral0"
                },
                {
                  "device": "/dev/sde",
                  "name": "ephemeral1"
                },
                {
                  "device": "sdb",
                  "no_device": true
                },
                {
                  "device": "sdc",
                  "no_device": true
                },
                {
                  "device": "sdd",
                  "no_device": true
                },
                {
                  "device": "sde",
                  "no_device": true
                }
              ],
              "environment": "https://api.engineyard.com/environments/9",
              "events": "https://api.engineyard.com/servers/48/events",
              "firewalls": "https://api.engineyard.com/servers/48/firewalls",
              "flavor": {
                "id": "m4_large"
              },
              "iam_role": null,
              "location": "us-west-2c",
              "logs": "https://api.engineyard.com/servers/48/logs",
              "provider": "https://api.engineyard.com/providers/17",
              "public_hostname": "1527e725-d0b8-43f1-9771-42d77f1955d7.engineyard.com",
              "server_alerts": "https://api.engineyard.com/servers/48/server-alerts",
              "snapshots": "https://api.engineyard.com/servers/48/snapshots",
              "volumes": "https://api.engineyard.com/servers/48/volumes",
              "alerts": "https://api.engineyard.com/servers/48/alerts",
              "chef_status": [
                {
                  "message": "Instance fully configured and ready",
                  "timestamp": "2018-05-29T10:50:32+00:00",
                  "time_ago": "less than a minute"
                }
              ],
              "dedicated": false,
              "latest_chef_log": null,
              "network": "https://api.engineyard.com/networks/f77f974f-c344-47a3-b781-993db70ea18c",
              "no_deploy": false,
              "release_label": null,
              "role": "app_master",
              "subnet": "https://api.engineyard.com/subnets/344f836e-9897-4bf7-8d0b-e7cc761037b6"
            }
          }
            
          








Get account's servers

GET /accounts/:account/servers

Parameters

appfirst_id
required: false
Filter by appfirst ID
cluster
required: false
Filter by cluster membership
environment
required: false
Filter by environment membership
private_hostname
required: false
Filter by private hostname
provisioned_id
required: false
Filter by infrastructure ID (i.e., 'i-b28d7df2')
public_hostname
required: false
Filter by public hostname
state
required: false
Filter by instance state

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "servers": [
              {
                "id": 37,
                "created_at": "2018-05-29T10:49:31+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "edd6313d-0566-4b39-9c9a-0d9e0d7d899f.engineyard.com",
                "provisioned_at": "2018-05-29T10:49:40+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:49:50+00:00",
                "provisioned_id": "i-58352840",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/3f4323df-5ed9-4e7a-970a-7199c9861304",
                "address": null,
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/7",
                "events": "https://api.engineyard.com/servers/37/events",
                "firewalls": "https://api.engineyard.com/servers/37/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2c",
                "logs": "https://api.engineyard.com/servers/37/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "9ad6f398-aa83-4dc6-b418-bc4c77f5fc37.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/37/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/37/snapshots",
                "volumes": "https://api.engineyard.com/servers/37/volumes",
                "alerts": "https://api.engineyard.com/servers/37/alerts",
                "chef_status": [
                  {
                    "message": "Snapshot /db complete",
                    "timestamp": "2018-05-29T10:49:50+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/c6af29d2-eb58-4506-a21b-77d60df4d0b1",
                "no_deploy": false,
                "release_label": null,
                "role": "db_master",
                "subnet": "https://api.engineyard.com/subnets/6300fea1-ce3a-4c16-9504-87a89e150bc8"
              },
              {
                "id": 38,
                "created_at": "2018-05-29T10:49:31+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "c2df9d2f-76ad-471e-84fe-9b0ef8c49b50.engineyard.com",
                "provisioned_at": "2018-05-29T10:49:36+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:49:39+00:00",
                "provisioned_id": "i-1b5b8ba0",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/3f4323df-5ed9-4e7a-970a-7199c9861304",
                "address": "https://api.engineyard.com/addresses/8",
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/7",
                "events": "https://api.engineyard.com/servers/38/events",
                "firewalls": "https://api.engineyard.com/servers/38/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2b",
                "logs": "https://api.engineyard.com/servers/38/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "acbe1916-acc4-432c-b0dd-690590ea2608.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/38/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/38/snapshots",
                "volumes": "https://api.engineyard.com/servers/38/volumes",
                "alerts": "https://api.engineyard.com/servers/38/alerts",
                "chef_status": [
                  {
                    "message": "Instance fully configured and ready",
                    "timestamp": "2018-05-29T10:49:39+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/c6af29d2-eb58-4506-a21b-77d60df4d0b1",
                "no_deploy": false,
                "release_label": null,
                "role": "app_master",
                "subnet": "https://api.engineyard.com/subnets/427f972c-7959-4a29-ae7f-90c72eb0691a"
              },
              {
                "id": 39,
                "created_at": "2018-05-29T10:49:31+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "77318754-95e2-4a02-9896-9463058f170e.engineyard.com",
                "provisioned_at": "2018-05-29T10:49:43+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:49:44+00:00",
                "provisioned_id": "i-6ce2c3fc",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/3f4323df-5ed9-4e7a-970a-7199c9861304",
                "address": null,
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/7",
                "events": "https://api.engineyard.com/servers/39/events",
                "firewalls": "https://api.engineyard.com/servers/39/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2a",
                "logs": "https://api.engineyard.com/servers/39/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "02895199-1c58-44bc-874a-66c25cde1664.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/39/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/39/snapshots",
                "volumes": "https://api.engineyard.com/servers/39/volumes",
                "alerts": "https://api.engineyard.com/servers/39/alerts",
                "chef_status": [
                  {
                    "message": "Instance fully configured and ready",
                    "timestamp": "2018-05-29T10:49:44+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/c6af29d2-eb58-4506-a21b-77d60df4d0b1",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/3d508140-cbd8-4c33-b1a3-40452e7ba6cf"
              },
              {
                "id": 40,
                "created_at": "2018-05-29T10:49:31+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "21bc7e53-e619-42e4-a975-96d7fe493938.engineyard.com",
                "provisioned_at": "2018-05-29T10:49:46+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:49:48+00:00",
                "provisioned_id": "i-bc3ffac5",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/3f4323df-5ed9-4e7a-970a-7199c9861304",
                "address": null,
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/7",
                "events": "https://api.engineyard.com/servers/40/events",
                "firewalls": "https://api.engineyard.com/servers/40/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2c",
                "logs": "https://api.engineyard.com/servers/40/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "ab33690d-c652-40ce-955c-31d43e21c167.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/40/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/40/snapshots",
                "volumes": "https://api.engineyard.com/servers/40/volumes",
                "alerts": "https://api.engineyard.com/servers/40/alerts",
                "chef_status": [
                  {
                    "message": "Instance fully configured and ready",
                    "timestamp": "2018-05-29T10:49:47+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/c6af29d2-eb58-4506-a21b-77d60df4d0b1",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/6300fea1-ce3a-4c16-9504-87a89e150bc8"
              },
              {
                "id": 41,
                "created_at": "2018-05-29T10:49:31+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "1a041baf-6fb5-4497-9a94-7bff91f398f6.engineyard.com",
                "provisioned_at": "2018-05-29T10:49:50+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:49:52+00:00",
                "provisioned_id": "i-b24b4447",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/3f4323df-5ed9-4e7a-970a-7199c9861304",
                "address": null,
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/7",
                "events": "https://api.engineyard.com/servers/41/events",
                "firewalls": "https://api.engineyard.com/servers/41/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2b",
                "logs": "https://api.engineyard.com/servers/41/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "9244eca5-cdbd-473f-a561-61c433d0749c.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/41/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/41/snapshots",
                "volumes": "https://api.engineyard.com/servers/41/volumes",
                "alerts": "https://api.engineyard.com/servers/41/alerts",
                "chef_status": [
                  {
                    "message": "Instance fully configured and ready",
                    "timestamp": "2018-05-29T10:49:51+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/c6af29d2-eb58-4506-a21b-77d60df4d0b1",
                "no_deploy": false,
                "release_label": null,
                "role": "db_slave",
                "subnet": "https://api.engineyard.com/subnets/427f972c-7959-4a29-ae7f-90c72eb0691a"
              }
            ]
          }
            
          








List servers

GET /servers

Parameters

appfirst_id
required: false
Filter by appfirst ID
account
required: false
Filter by account
cluster
required: false
Filter by cluster membership
environment
required: false
Filter by environment membership
private_hostname
required: false
Filter by private hostname
provisioned_id
required: false
Filter by infrastructure ID (i.e., 'i-b28d7df2')
public_hostname
required: false
Filter by public hostname
state
required: false
Filter by instance state

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "servers": [
              {
                "id": 42,
                "created_at": "2018-05-29T10:49:57+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "9c283bfd-c34e-46f7-a60a-e76bc4260260.engineyard.com",
                "provisioned_at": "2018-05-29T10:50:07+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:50:15+00:00",
                "provisioned_id": "i-e6f9ed10",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/a578d29e-bd52-44b9-8fdf-ab3210865ca0",
                "address": null,
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/8",
                "events": "https://api.engineyard.com/servers/42/events",
                "firewalls": "https://api.engineyard.com/servers/42/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2b",
                "logs": "https://api.engineyard.com/servers/42/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "1aa4fcd6-53ca-4a3f-9839-c7e12704e7e2.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/42/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/42/snapshots",
                "volumes": "https://api.engineyard.com/servers/42/volumes",
                "alerts": "https://api.engineyard.com/servers/42/alerts",
                "chef_status": [
                  {
                    "message": "Snapshot /db complete",
                    "timestamp": "2018-05-29T10:50:15+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/7ade7cdd-c861-411c-acc2-de895130a872",
                "no_deploy": false,
                "release_label": null,
                "role": "db_master",
                "subnet": "https://api.engineyard.com/subnets/ac45b28b-0c41-4867-b0f6-e6fc5b53ec43"
              },
              {
                "id": 43,
                "created_at": "2018-05-29T10:49:57+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "38eb1339-53cd-4633-8cbd-2cca3ae757bd.engineyard.com",
                "provisioned_at": "2018-05-29T10:50:03+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:50:05+00:00",
                "provisioned_id": "i-a9bf72cc",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/a578d29e-bd52-44b9-8fdf-ab3210865ca0",
                "address": "https://api.engineyard.com/addresses/9",
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/8",
                "events": "https://api.engineyard.com/servers/43/events",
                "firewalls": "https://api.engineyard.com/servers/43/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2a",
                "logs": "https://api.engineyard.com/servers/43/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "7ab0718a-4d54-427e-be8e-79893f2e56ee.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/43/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/43/snapshots",
                "volumes": "https://api.engineyard.com/servers/43/volumes",
                "alerts": "https://api.engineyard.com/servers/43/alerts",
                "chef_status": [
                  {
                    "message": "Instance fully configured and ready",
                    "timestamp": "2018-05-29T10:50:05+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/7ade7cdd-c861-411c-acc2-de895130a872",
                "no_deploy": false,
                "release_label": null,
                "role": "app_master",
                "subnet": "https://api.engineyard.com/subnets/ac07b99f-c287-47e6-8e1d-dbf53344ba35"
              },
              {
                "id": 44,
                "created_at": "2018-05-29T10:49:57+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "6fe104e4-082b-4c88-942d-50c39d8ae44f.engineyard.com",
                "provisioned_at": "2018-05-29T10:50:10+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:50:11+00:00",
                "provisioned_id": "i-724c0544",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/a578d29e-bd52-44b9-8fdf-ab3210865ca0",
                "address": null,
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/8",
                "events": "https://api.engineyard.com/servers/44/events",
                "firewalls": "https://api.engineyard.com/servers/44/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2c",
                "logs": "https://api.engineyard.com/servers/44/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "18b78d36-0e1b-4c54-ad65-2cb53a400f64.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/44/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/44/snapshots",
                "volumes": "https://api.engineyard.com/servers/44/volumes",
                "alerts": "https://api.engineyard.com/servers/44/alerts",
                "chef_status": [
                  {
                    "message": "Instance fully configured and ready",
                    "timestamp": "2018-05-29T10:50:11+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/7ade7cdd-c861-411c-acc2-de895130a872",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/b6e1d602-dcc5-44fd-b712-903a8676f221"
              },
              {
                "id": 45,
                "created_at": "2018-05-29T10:49:57+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "ac552e4e-2fd8-4607-9460-120044486948.engineyard.com",
                "provisioned_at": "2018-05-29T10:50:12+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:50:13+00:00",
                "provisioned_id": "i-327f7ef2",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/a578d29e-bd52-44b9-8fdf-ab3210865ca0",
                "address": null,
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/8",
                "events": "https://api.engineyard.com/servers/45/events",
                "firewalls": "https://api.engineyard.com/servers/45/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2b",
                "logs": "https://api.engineyard.com/servers/45/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "f12b4603-5e3a-47b4-834a-4e56a4200c40.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/45/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/45/snapshots",
                "volumes": "https://api.engineyard.com/servers/45/volumes",
                "alerts": "https://api.engineyard.com/servers/45/alerts",
                "chef_status": [
                  {
                    "message": "Instance fully configured and ready",
                    "timestamp": "2018-05-29T10:50:13+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/7ade7cdd-c861-411c-acc2-de895130a872",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/ac45b28b-0c41-4867-b0f6-e6fc5b53ec43"
              },
              {
                "id": 46,
                "created_at": "2018-05-29T10:49:57+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "565f2a16-db1d-4a7f-b851-2e02b413eba4.engineyard.com",
                "provisioned_at": "2018-05-29T10:50:15+00:00",
                "ssh_port": 22,
                "updated_at": "2018-05-29T10:50:17+00:00",
                "provisioned_id": "i-1307006e",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/a578d29e-bd52-44b9-8fdf-ab3210865ca0",
                "address": null,
                "devices": [
                  {
                    "size": 30,
                    "delete_on_termination": true,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdb",
                    "delete_on_termination": true,
                    "size": 25,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdc",
                    "delete_on_termination": true,
                    "size": 8,
                    "volume_type": "gp2"
                  },
                  {
                    "device": "/dev/sdd",
                    "name": "ephemeral0"
                  },
                  {
                    "device": "/dev/sde",
                    "name": "ephemeral1"
                  },
                  {
                    "device": "sdb",
                    "no_device": true
                  },
                  {
                    "device": "sdc",
                    "no_device": true
                  },
                  {
                    "device": "sdd",
                    "no_device": true
                  },
                  {
                    "device": "sde",
                    "no_device": true
                  }
                ],
                "environment": "https://api.engineyard.com/environments/8",
                "events": "https://api.engineyard.com/servers/46/events",
                "firewalls": "https://api.engineyard.com/servers/46/firewalls",
                "flavor": {
                  "id": "m4_large"
                },
                "iam_role": null,
                "location": "us-west-2a",
                "logs": "https://api.engineyard.com/servers/46/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "a175af7e-d418-4542-ab32-278bb6212cc1.engineyard.com",
                "server_alerts": "https://api.engineyard.com/servers/46/server-alerts",
                "snapshots": "https://api.engineyard.com/servers/46/snapshots",
                "volumes": "https://api.engineyard.com/servers/46/volumes",
                "alerts": "https://api.engineyard.com/servers/46/alerts",
                "chef_status": [
                  {
                    "message": "Instance fully configured and ready",
                    "timestamp": "2018-05-29T10:50:16+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/7ade7cdd-c861-411c-acc2-de895130a872",
                "no_deploy": false,
                "release_label": null,
                "role": "db_slave",
                "subnet": "https://api.engineyard.com/subnets/ac07b99f-c287-47e6-8e1d-dbf53344ba35"
              }
            ]
          }
            
          








Start a server

PUT /servers/:server/start

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "start_server",
              "id": "c0b17131-098d-4733-8800-51a75c408ef7",
              "created_at": "2018-05-29T10:52:41+00:00",
              "started_at": "2018-05-29T10:52:41+00:00",
              "finished_at": "2018-05-29T10:52:46+00:00",
              "message": null,
              "request_status": "Finished:  (c0b17131-098d-4733-8800-51a75c408ef7) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:52:46+00:00",
              "read_channel": null,
              "stage": "update-and-apply",
              "dependencies": "https://api.engineyard.com/requests/c0b17131-098d-4733-8800-51a75c408ef7/dependencies",
              "stages": "https://api.engineyard.com/requests/c0b17131-098d-4733-8800-51a75c408ef7/stages",
              "account": "https://api.engineyard.com/accounts/93010c6b-f300-40b4-a8f9-eedd9c4a8ffd",
              "requester": "https://api.engineyard.com/requests/c0b17131-098d-4733-8800-51a75c408ef7/requester",
              "messages": "https://api.engineyard.com/requests/c0b17131-098d-4733-8800-51a75c408ef7/messages",
              "callback_url": "https://api.engineyard.com/requests/c0b17131-098d-4733-8800-51a75c408ef7/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/68"
            }
          }
            
          








Stop a server

PUT /servers/:server/stop

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "stop_server",
              "id": "bc47ef6c-774f-41ef-b9d7-dfc9bf413753",
              "created_at": "2018-05-29T10:52:12+00:00",
              "started_at": "2018-05-29T10:52:12+00:00",
              "finished_at": "2018-05-29T10:52:15+00:00",
              "message": null,
              "request_status": "Finished:  (bc47ef6c-774f-41ef-b9d7-dfc9bf413753) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-05-29T10:52:15+00:00",
              "read_channel": null,
              "stage": "update-and-apply",
              "dependencies": "https://api.engineyard.com/requests/bc47ef6c-774f-41ef-b9d7-dfc9bf413753/dependencies",
              "stages": "https://api.engineyard.com/requests/bc47ef6c-774f-41ef-b9d7-dfc9bf413753/stages",
              "account": "https://api.engineyard.com/accounts/8a80462d-3d4d-4840-a7d1-e0ed2abc0cc9",
              "requester": "https://api.engineyard.com/requests/bc47ef6c-774f-41ef-b9d7-dfc9bf413753/requester",
              "messages": "https://api.engineyard.com/requests/bc47ef6c-774f-41ef-b9d7-dfc9bf413753/messages",
              "callback_url": "https://api.engineyard.com/requests/bc47ef6c-774f-41ef-b9d7-dfc9bf413753/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/63"
            }
          }