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": "2547d142-9ac1-4c45-a8e8-7ac5a40192b9",
              "created_at": "2017-10-11T13:24:43+00:00",
              "started_at": "2017-10-11T13:24:43+00:00",
              "finished_at": "2017-10-11T13:24:51+00:00",
              "message": null,
              "request_status": "Finished: Provision server (2547d142-9ac1-4c45-a8e8-7ac5a40192b9) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:24:51+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/2547d142-9ac1-4c45-a8e8-7ac5a40192b9/dependencies",
              "stages": "https://api.engineyard.com/requests/2547d142-9ac1-4c45-a8e8-7ac5a40192b9/stages",
              "account": "https://api.engineyard.com/accounts/249925e3-add4-4ba1-b9f0-3f06481539f2",
              "requester": "https://api.engineyard.com/requests/2547d142-9ac1-4c45-a8e8-7ac5a40192b9/requester",
              "messages": "https://api.engineyard.com/requests/2547d142-9ac1-4c45-a8e8-7ac5a40192b9/messages",
              "callback_url": "https://api.engineyard.com/requests/2547d142-9ac1-4c45-a8e8-7ac5a40192b9/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": "41c6ccb8-27e9-47a8-9402-cef9dca985db",
              "name": "new_util",
              "flavor": "m3.large",
              "role": "util"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "a0243749-0ff5-4033-929e-56cf4128fdbe",
              "created_at": "2017-10-11T13:23:28+00:00",
              "started_at": "2017-10-11T13:23:28+00:00",
              "finished_at": "2017-10-11T13:23:35+00:00",
              "message": null,
              "request_status": "Finished: Provision server (a0243749-0ff5-4033-929e-56cf4128fdbe) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:23:35+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/a0243749-0ff5-4033-929e-56cf4128fdbe/dependencies",
              "stages": "https://api.engineyard.com/requests/a0243749-0ff5-4033-929e-56cf4128fdbe/stages",
              "account": "https://api.engineyard.com/accounts/227795d0-9d02-4097-b28c-0f295d7b30f8",
              "requester": "https://api.engineyard.com/requests/a0243749-0ff5-4033-929e-56cf4128fdbe/requester",
              "messages": "https://api.engineyard.com/requests/a0243749-0ff5-4033-929e-56cf4128fdbe/messages",
              "callback_url": "https://api.engineyard.com/requests/a0243749-0ff5-4033-929e-56cf4128fdbe/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": "c277b492-51b2-40f6-b147-74352d6accd6",
              "created_at": "2017-10-11T13:22:48+00:00",
              "started_at": "2017-10-11T13:22:48+00:00",
              "finished_at": "2017-10-11T13:22:55+00:00",
              "message": null,
              "request_status": "Finished: Provision server (c277b492-51b2-40f6-b147-74352d6accd6) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:22:55+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/c277b492-51b2-40f6-b147-74352d6accd6/dependencies",
              "stages": "https://api.engineyard.com/requests/c277b492-51b2-40f6-b147-74352d6accd6/stages",
              "account": "https://api.engineyard.com/accounts/094a454d-d07e-4c74-8d54-5fab742a223c",
              "requester": "https://api.engineyard.com/requests/c277b492-51b2-40f6-b147-74352d6accd6/requester",
              "messages": "https://api.engineyard.com/requests/c277b492-51b2-40f6-b147-74352d6accd6/messages",
              "callback_url": "https://api.engineyard.com/requests/c277b492-51b2-40f6-b147-74352d6accd6/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": "c7966575-4230-42ce-a5e6-49e39d251893",
              "created_at": "2017-10-11T13:24:04+00:00",
              "started_at": "2017-10-11T13:24:04+00:00",
              "finished_at": "2017-10-11T13:24:12+00:00",
              "message": null,
              "request_status": "Finished: Provision server (c7966575-4230-42ce-a5e6-49e39d251893) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:24:12+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/c7966575-4230-42ce-a5e6-49e39d251893/dependencies",
              "stages": "https://api.engineyard.com/requests/c7966575-4230-42ce-a5e6-49e39d251893/stages",
              "account": "https://api.engineyard.com/accounts/b90aac24-877a-4d5c-ac27-83b976f0d162",
              "requester": "https://api.engineyard.com/requests/c7966575-4230-42ce-a5e6-49e39d251893/requester",
              "messages": "https://api.engineyard.com/requests/c7966575-4230-42ce-a5e6-49e39d251893/messages",
              "callback_url": "https://api.engineyard.com/requests/c7966575-4230-42ce-a5e6-49e39d251893/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": "1f2d3da1-7522-4e66-8e1c-71ade11fb063"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "87270ede-89f4-4fea-a2ee-a4f926761a48",
              "created_at": "2017-10-11T13:25:59+00:00",
              "started_at": "2017-10-11T13:25:59+00:00",
              "finished_at": "2017-10-11T13:26:06+00:00",
              "message": null,
              "request_status": "Finished: Provision server (87270ede-89f4-4fea-a2ee-a4f926761a48) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:26:06+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/87270ede-89f4-4fea-a2ee-a4f926761a48/dependencies",
              "stages": "https://api.engineyard.com/requests/87270ede-89f4-4fea-a2ee-a4f926761a48/stages",
              "account": "https://api.engineyard.com/accounts/678d1f96-db85-4f28-8d3f-612d48f3cef0",
              "requester": "https://api.engineyard.com/requests/87270ede-89f4-4fea-a2ee-a4f926761a48/requester",
              "messages": "https://api.engineyard.com/requests/87270ede-89f4-4fea-a2ee-a4f926761a48/messages",
              "callback_url": "https://api.engineyard.com/requests/87270ede-89f4-4fea-a2ee-a4f926761a48/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

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "instance_update",
              "id": "6e6de1ff-150a-4b8c-9eec-ae0b61452154",
              "created_at": "2017-10-11T13:28:44+00:00",
              "started_at": "2017-10-11T13:28:44+00:00",
              "finished_at": "2017-10-11T13:28:44+00:00",
              "message": null,
              "successful": true,
              "updated_at": "2017-10-11T13:28:44+00:00",
              "read_channel": null,
              "stage": null,
              "dependencies": null,
              "stages": null,
              "account": "https://api.engineyard.com/accounts/e710b80f-f9fc-4e8b-bd56-2cf6e78faa22",
              "requester": "https://api.engineyard.com/requests/6e6de1ff-150a-4b8c-9eec-ae0b61452154/requester",
              "messages": "https://api.engineyard.com/requests/6e6de1ff-150a-4b8c-9eec-ae0b61452154/messages",
              "callback_url": "https://api.engineyard.com/requests/6e6de1ff-150a-4b8c-9eec-ae0b61452154/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": "0bf0e74a-406a-4983-b4ab-e4e8ed5ca57f",
              "created_at": "2017-10-11T13:25:25+00:00",
              "started_at": "2017-10-11T13:25:25+00:00",
              "finished_at": "2017-10-11T13:25:31+00:00",
              "message": null,
              "request_status": "Finished: Provision server (0bf0e74a-406a-4983-b4ab-e4e8ed5ca57f) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:25:31+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/0bf0e74a-406a-4983-b4ab-e4e8ed5ca57f/dependencies",
              "stages": "https://api.engineyard.com/requests/0bf0e74a-406a-4983-b4ab-e4e8ed5ca57f/stages",
              "account": "https://api.engineyard.com/accounts/aa3e5feb-2f8b-45ff-8e37-e97c755db733",
              "requester": "https://api.engineyard.com/requests/0bf0e74a-406a-4983-b4ab-e4e8ed5ca57f/requester",
              "messages": "https://api.engineyard.com/requests/0bf0e74a-406a-4983-b4ab-e4e8ed5ca57f/messages",
              "callback_url": "https://api.engineyard.com/requests/0bf0e74a-406a-4983-b4ab-e4e8ed5ca57f/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

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "deprovision_server",
              "id": "22fa1c16-b85e-463a-81df-7a90f6eec946",
              "created_at": "2017-10-11T13:28:07+00:00",
              "started_at": "2017-10-11T13:28:08+00:00",
              "finished_at": "2017-10-11T13:28:10+00:00",
              "message": null,
              "request_status": "Finished: Deprovision server (22fa1c16-b85e-463a-81df-7a90f6eec946) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:28:10+00:00",
              "read_channel": null,
              "stage": "alerts.finish",
              "dependencies": "https://api.engineyard.com/requests/22fa1c16-b85e-463a-81df-7a90f6eec946/dependencies",
              "stages": "https://api.engineyard.com/requests/22fa1c16-b85e-463a-81df-7a90f6eec946/stages",
              "account": "https://api.engineyard.com/accounts/495b6c1c-6f4b-4109-a7d0-3568d082805d",
              "requester": "https://api.engineyard.com/requests/22fa1c16-b85e-463a-81df-7a90f6eec946/requester",
              "messages": "https://api.engineyard.com/requests/22fa1c16-b85e-463a-81df-7a90f6eec946/messages",
              "callback_url": "https://api.engineyard.com/requests/22fa1c16-b85e-463a-81df-7a90f6eec946/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/54"
            }
          }
            
          








Get a server

GET /servers/:server

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "server": {
              "id": 48,
              "created_at": "2017-10-11T13:27:10+00:00",
              "deleted_at": null,
              "deprovisioned_at": null,
              "disappeared_at": null,
              "enabled": true,
              "name": null,
              "private_hostname": "cf93c1c7-af4e-419f-ad3b-96575e6fc5d5.engineyard.com",
              "provisioned_at": "2017-10-11T13:27:16+00:00",
              "ssh_port": 22,
              "updated_at": "2017-10-11T13:27:18+00:00",
              "provisioned_id": "i-2fe03446",
              "state": "running",
              "account": "https://api.engineyard.com/accounts/54ea1f9c-9660-4b9b-80ed-35dea587c02d",
              "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": "361f9b25-d772-4e1a-86ab-ab264982dec4.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": "2017-10-11T13:27:18+00:00",
                  "time_ago": "less than a minute"
                }
              ],
              "dedicated": false,
              "latest_chef_log": null,
              "network": "https://api.engineyard.com/networks/d49e0561-f116-4591-a03a-9f90896992a9",
              "no_deploy": false,
              "release_label": null,
              "role": "app_master",
              "subnet": "https://api.engineyard.com/subnets/81e8dbb5-67eb-4f46-97b6-e705114b89f3"
            }
          }
            
          








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

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "servers": [
              {
                "id": 41,
                "created_at": "2017-10-11T13:26:12+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "d75acfa7-9726-4d98-9d87-84ebfa756a35.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:32+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:26:35+00:00",
                "provisioned_id": "i-78559720",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e0e2e71-6258-4709-bd1e-9c37ece75887",
                "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-2a",
                "logs": "https://api.engineyard.com/servers/41/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "01f8a9bb-eec6-4e05-9aa3-f11d90a19eeb.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": "2017-10-11T13:26:34+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9f764475-ce2b-458b-922a-8102ac81201a",
                "no_deploy": false,
                "release_label": null,
                "role": "db_slave",
                "subnet": "https://api.engineyard.com/subnets/e953ba16-7976-47d9-8ab4-e4155834e3b4"
              },
              {
                "id": 37,
                "created_at": "2017-10-11T13:26:11+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "e5fd9c3d-1e6a-4388-98ba-a48f31ba3ff0.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:22+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:26:33+00:00",
                "provisioned_id": "i-acc32904",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e0e2e71-6258-4709-bd1e-9c37ece75887",
                "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": "c286cd10-00d7-43ba-8ead-b225fee55ceb.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": "2017-10-11T13:26:33+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9f764475-ce2b-458b-922a-8102ac81201a",
                "no_deploy": false,
                "release_label": null,
                "role": "db_master",
                "subnet": "https://api.engineyard.com/subnets/0c477bc1-e968-4bf1-97da-3c3b0f0d1b64"
              },
              {
                "id": 38,
                "created_at": "2017-10-11T13:26:11+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "915e7975-0e6c-48af-b3d0-2d7164bb5e55.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:17+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:26:19+00:00",
                "provisioned_id": "i-142ddd4f",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e0e2e71-6258-4709-bd1e-9c37ece75887",
                "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": "28dca61f-6496-482d-bef9-ba962e4504b1.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": "2017-10-11T13:26:19+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9f764475-ce2b-458b-922a-8102ac81201a",
                "no_deploy": false,
                "release_label": null,
                "role": "app_master",
                "subnet": "https://api.engineyard.com/subnets/ca914939-771d-4baa-b73c-9ba7130fa520"
              },
              {
                "id": 39,
                "created_at": "2017-10-11T13:26:11+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "7078df78-418e-4d27-8f7e-a03965f16c58.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:26+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:26:27+00:00",
                "provisioned_id": "i-253ed8b2",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e0e2e71-6258-4709-bd1e-9c37ece75887",
                "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": "35593691-416b-40ec-bf46-7c14e6ac6b64.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": "2017-10-11T13:26:27+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9f764475-ce2b-458b-922a-8102ac81201a",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/e953ba16-7976-47d9-8ab4-e4155834e3b4"
              },
              {
                "id": 40,
                "created_at": "2017-10-11T13:26:11+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "23806e7a-c93b-43fb-8af6-b7afe70b9eb1.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:28+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:26:30+00:00",
                "provisioned_id": "i-c502f917",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e0e2e71-6258-4709-bd1e-9c37ece75887",
                "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": "2cd15b5d-00ac-4fd7-8fb5-ff5fed32aac2.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": "2017-10-11T13:26:30+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9f764475-ce2b-458b-922a-8102ac81201a",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/0c477bc1-e968-4bf1-97da-3c3b0f0d1b64"
              }
            ]
          }
            
          








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

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "servers": [
              {
                "id": 42,
                "created_at": "2017-10-11T13:26:41+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "07553e79-c4e7-4093-9da2-cb6814a591ff.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:50+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:27:02+00:00",
                "provisioned_id": "i-3b313938",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e268588-136e-4053-95a8-27a45ca53f37",
                "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-2c",
                "logs": "https://api.engineyard.com/servers/42/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "9a482066-71b3-4916-8831-5b83dcdd0bd6.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": "2017-10-11T13:27:02+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/04e2591d-271d-4a5a-8c45-468a8f203cb0",
                "no_deploy": false,
                "release_label": null,
                "role": "db_master",
                "subnet": "https://api.engineyard.com/subnets/c83788d8-e2b7-48ba-89b6-ccc26b639576"
              },
              {
                "id": 43,
                "created_at": "2017-10-11T13:26:41+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "1eeddab4-34ba-4dd5-8f93-5ce3231da9b3.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:46+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:26:49+00:00",
                "provisioned_id": "i-be09f210",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e268588-136e-4053-95a8-27a45ca53f37",
                "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-2c",
                "logs": "https://api.engineyard.com/servers/43/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "081ca3dc-ab9c-49e7-98c8-172b87533545.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": "2017-10-11T13:26:48+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/04e2591d-271d-4a5a-8c45-468a8f203cb0",
                "no_deploy": false,
                "release_label": null,
                "role": "app_master",
                "subnet": "https://api.engineyard.com/subnets/c83788d8-e2b7-48ba-89b6-ccc26b639576"
              },
              {
                "id": 44,
                "created_at": "2017-10-11T13:26:41+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "47339a74-ee70-4f87-848d-9805cca95e0e.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:54+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:26:56+00:00",
                "provisioned_id": "i-29efbfdc",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e268588-136e-4053-95a8-27a45ca53f37",
                "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-2b",
                "logs": "https://api.engineyard.com/servers/44/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "dbec77d9-73bb-404d-a79f-18e592892c84.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": "2017-10-11T13:26:55+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/04e2591d-271d-4a5a-8c45-468a8f203cb0",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/ee6d025e-f47a-4b89-b0c6-36b19b55c243"
              },
              {
                "id": 45,
                "created_at": "2017-10-11T13:26:41+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "079d23d1-17bd-4c49-95db-0298a8019948.engineyard.com",
                "provisioned_at": "2017-10-11T13:26:57+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:26:59+00:00",
                "provisioned_id": "i-fd7f917f",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e268588-136e-4053-95a8-27a45ca53f37",
                "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-2a",
                "logs": "https://api.engineyard.com/servers/45/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "1d5810e4-aa1c-4215-9468-4030fd47482a.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": "2017-10-11T13:26:59+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/04e2591d-271d-4a5a-8c45-468a8f203cb0",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/bb62cd08-38ad-43d0-8e1a-966122f4e847"
              },
              {
                "id": 46,
                "created_at": "2017-10-11T13:26:41+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "bca1278f-0ebb-4255-a09a-af780e7f1524.engineyard.com",
                "provisioned_at": "2017-10-11T13:27:01+00:00",
                "ssh_port": 22,
                "updated_at": "2017-10-11T13:27:04+00:00",
                "provisioned_id": "i-b4ce6d32",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e268588-136e-4053-95a8-27a45ca53f37",
                "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": "16c10094-b0d9-411e-a704-2afd305bc366.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": "2017-10-11T13:27:03+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/04e2591d-271d-4a5a-8c45-468a8f203cb0",
                "no_deploy": false,
                "release_label": null,
                "role": "db_slave",
                "subnet": "https://api.engineyard.com/subnets/bb62cd08-38ad-43d0-8e1a-966122f4e847"
              }
            ]
          }
            
          








Start a server

PUT /servers/:server/start

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "start_server",
              "id": "21a779bb-a4aa-4d0f-a643-855ad3029ad2",
              "created_at": "2017-10-11T13:29:49+00:00",
              "started_at": "2017-10-11T13:29:49+00:00",
              "finished_at": "2017-10-11T13:29:53+00:00",
              "message": null,
              "request_status": "Finished:  (21a779bb-a4aa-4d0f-a643-855ad3029ad2) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:29:53+00:00",
              "read_channel": null,
              "stage": "update-and-apply",
              "dependencies": "https://api.engineyard.com/requests/21a779bb-a4aa-4d0f-a643-855ad3029ad2/dependencies",
              "stages": "https://api.engineyard.com/requests/21a779bb-a4aa-4d0f-a643-855ad3029ad2/stages",
              "account": "https://api.engineyard.com/accounts/eabf5977-37ab-48f2-aa8c-feda51677758",
              "requester": "https://api.engineyard.com/requests/21a779bb-a4aa-4d0f-a643-855ad3029ad2/requester",
              "messages": "https://api.engineyard.com/requests/21a779bb-a4aa-4d0f-a643-855ad3029ad2/messages",
              "callback_url": "https://api.engineyard.com/requests/21a779bb-a4aa-4d0f-a643-855ad3029ad2/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/68"
            }
          }
            
          








Stop a server

PUT /servers/:server/stop

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "stop_server",
              "id": "c08d3942-eff3-46eb-9ed9-9c278235c45f",
              "created_at": "2017-10-11T13:29:15+00:00",
              "started_at": "2017-10-11T13:29:15+00:00",
              "finished_at": "2017-10-11T13:29:19+00:00",
              "message": null,
              "request_status": "Finished:  (c08d3942-eff3-46eb-9ed9-9c278235c45f) (less than a minute ago)",
              "successful": true,
              "updated_at": "2017-10-11T13:29:19+00:00",
              "read_channel": null,
              "stage": "update-and-apply",
              "dependencies": "https://api.engineyard.com/requests/c08d3942-eff3-46eb-9ed9-9c278235c45f/dependencies",
              "stages": "https://api.engineyard.com/requests/c08d3942-eff3-46eb-9ed9-9c278235c45f/stages",
              "account": "https://api.engineyard.com/accounts/17a8f982-bfbb-4bab-8b86-f1f37a1c3a4f",
              "requester": "https://api.engineyard.com/requests/c08d3942-eff3-46eb-9ed9-9c278235c45f/requester",
              "messages": "https://api.engineyard.com/requests/c08d3942-eff3-46eb-9ed9-9c278235c45f/messages",
              "callback_url": "https://api.engineyard.com/requests/c08d3942-eff3-46eb-9ed9-9c278235c45f/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/63"
            }
          }