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": "d0654dbd-ea0f-49a2-994d-a43a6655107c",
              "created_at": "2018-04-12T18:01:30+00:00",
              "started_at": "2018-04-12T18:01:30+00:00",
              "finished_at": "2018-04-12T18:01:39+00:00",
              "message": null,
              "request_status": "Finished: Provision server (d0654dbd-ea0f-49a2-994d-a43a6655107c) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T18:01:39+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/d0654dbd-ea0f-49a2-994d-a43a6655107c/dependencies",
              "stages": "https://api.engineyard.com/requests/d0654dbd-ea0f-49a2-994d-a43a6655107c/stages",
              "account": "https://api.engineyard.com/accounts/e6857dea-2c0c-4c93-8b5f-435d3d16586a",
              "requester": "https://api.engineyard.com/requests/d0654dbd-ea0f-49a2-994d-a43a6655107c/requester",
              "messages": "https://api.engineyard.com/requests/d0654dbd-ea0f-49a2-994d-a43a6655107c/messages",
              "callback_url": "https://api.engineyard.com/requests/d0654dbd-ea0f-49a2-994d-a43a6655107c/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": "5d580c2b-3769-4cf2-8a2e-58b41e685b0e",
              "name": "new_util",
              "flavor": "m3.large",
              "role": "util"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "90822d6e-c40c-4ae9-946b-7b0e8e27033b",
              "created_at": "2018-04-12T18:00:13+00:00",
              "started_at": "2018-04-12T18:00:13+00:00",
              "finished_at": "2018-04-12T18:00:20+00:00",
              "message": null,
              "request_status": "Finished: Provision server (90822d6e-c40c-4ae9-946b-7b0e8e27033b) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T18:00:20+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/90822d6e-c40c-4ae9-946b-7b0e8e27033b/dependencies",
              "stages": "https://api.engineyard.com/requests/90822d6e-c40c-4ae9-946b-7b0e8e27033b/stages",
              "account": "https://api.engineyard.com/accounts/a64e636f-1781-43c3-be2e-cc61032c9404",
              "requester": "https://api.engineyard.com/requests/90822d6e-c40c-4ae9-946b-7b0e8e27033b/requester",
              "messages": "https://api.engineyard.com/requests/90822d6e-c40c-4ae9-946b-7b0e8e27033b/messages",
              "callback_url": "https://api.engineyard.com/requests/90822d6e-c40c-4ae9-946b-7b0e8e27033b/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": "1d4972bd-3f0f-48c3-89d4-1625678d73f2",
              "created_at": "2018-04-12T17:59:36+00:00",
              "started_at": "2018-04-12T17:59:36+00:00",
              "finished_at": "2018-04-12T17:59:43+00:00",
              "message": null,
              "request_status": "Finished: Provision server (1d4972bd-3f0f-48c3-89d4-1625678d73f2) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T17:59:43+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/1d4972bd-3f0f-48c3-89d4-1625678d73f2/dependencies",
              "stages": "https://api.engineyard.com/requests/1d4972bd-3f0f-48c3-89d4-1625678d73f2/stages",
              "account": "https://api.engineyard.com/accounts/972658e8-5f0a-449f-9065-b6b19d5141cf",
              "requester": "https://api.engineyard.com/requests/1d4972bd-3f0f-48c3-89d4-1625678d73f2/requester",
              "messages": "https://api.engineyard.com/requests/1d4972bd-3f0f-48c3-89d4-1625678d73f2/messages",
              "callback_url": "https://api.engineyard.com/requests/1d4972bd-3f0f-48c3-89d4-1625678d73f2/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": "c5f7a78d-c96c-4549-9541-eeee384aa37b",
              "created_at": "2018-04-12T18:00:52+00:00",
              "started_at": "2018-04-12T18:00:52+00:00",
              "finished_at": "2018-04-12T18:00:59+00:00",
              "message": null,
              "request_status": "Finished: Provision server (c5f7a78d-c96c-4549-9541-eeee384aa37b) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T18:00:59+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/c5f7a78d-c96c-4549-9541-eeee384aa37b/dependencies",
              "stages": "https://api.engineyard.com/requests/c5f7a78d-c96c-4549-9541-eeee384aa37b/stages",
              "account": "https://api.engineyard.com/accounts/45abe799-bb0f-4305-b74e-4d914eac375b",
              "requester": "https://api.engineyard.com/requests/c5f7a78d-c96c-4549-9541-eeee384aa37b/requester",
              "messages": "https://api.engineyard.com/requests/c5f7a78d-c96c-4549-9541-eeee384aa37b/messages",
              "callback_url": "https://api.engineyard.com/requests/c5f7a78d-c96c-4549-9541-eeee384aa37b/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": "99f1dba3-e50a-47d4-bfa3-40b33e09830c"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "request": {
              "type": "provision_server",
              "id": "cf9a3740-9303-47f0-a2ae-e5438a898681",
              "created_at": "2018-04-12T18:02:59+00:00",
              "started_at": "2018-04-12T18:02:59+00:00",
              "finished_at": "2018-04-12T18:03:08+00:00",
              "message": null,
              "request_status": "Finished: Provision server (cf9a3740-9303-47f0-a2ae-e5438a898681) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T18:03:08+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/cf9a3740-9303-47f0-a2ae-e5438a898681/dependencies",
              "stages": "https://api.engineyard.com/requests/cf9a3740-9303-47f0-a2ae-e5438a898681/stages",
              "account": "https://api.engineyard.com/accounts/d333958b-3317-4cd3-a7c0-ff36c5e29d1f",
              "requester": "https://api.engineyard.com/requests/cf9a3740-9303-47f0-a2ae-e5438a898681/requester",
              "messages": "https://api.engineyard.com/requests/cf9a3740-9303-47f0-a2ae-e5438a898681/messages",
              "callback_url": "https://api.engineyard.com/requests/cf9a3740-9303-47f0-a2ae-e5438a898681/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": "0ceb1e5a-d90a-4109-aee4-c52cc1cc8619",
              "created_at": "2018-04-12T18:06:13+00:00",
              "started_at": "2018-04-12T18:06:13+00:00",
              "finished_at": "2018-04-12T18:06:14+00:00",
              "message": null,
              "successful": true,
              "updated_at": "2018-04-12T18:06:14+00:00",
              "read_channel": null,
              "stage": null,
              "dependencies": null,
              "stages": null,
              "account": "https://api.engineyard.com/accounts/dcdb471d-24cc-4708-b323-dd0f441317dc",
              "requester": "https://api.engineyard.com/requests/0ceb1e5a-d90a-4109-aee4-c52cc1cc8619/requester",
              "messages": "https://api.engineyard.com/requests/0ceb1e5a-d90a-4109-aee4-c52cc1cc8619/messages",
              "callback_url": "https://api.engineyard.com/requests/0ceb1e5a-d90a-4109-aee4-c52cc1cc8619/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": "86f75c10-c682-4b27-89f5-f1a22a28fa3e",
              "created_at": "2018-04-12T18:02:15+00:00",
              "started_at": "2018-04-12T18:02:15+00:00",
              "finished_at": "2018-04-12T18:02:24+00:00",
              "message": null,
              "request_status": "Finished: Provision server (86f75c10-c682-4b27-89f5-f1a22a28fa3e) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T18:02:24+00:00",
              "read_channel": null,
              "stage": "server.bootstrapped",
              "dependencies": "https://api.engineyard.com/requests/86f75c10-c682-4b27-89f5-f1a22a28fa3e/dependencies",
              "stages": "https://api.engineyard.com/requests/86f75c10-c682-4b27-89f5-f1a22a28fa3e/stages",
              "account": "https://api.engineyard.com/accounts/4ff2c75c-8757-41aa-bbac-9a82c5dab62f",
              "requester": "https://api.engineyard.com/requests/86f75c10-c682-4b27-89f5-f1a22a28fa3e/requester",
              "messages": "https://api.engineyard.com/requests/86f75c10-c682-4b27-89f5-f1a22a28fa3e/messages",
              "callback_url": "https://api.engineyard.com/requests/86f75c10-c682-4b27-89f5-f1a22a28fa3e/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": "e0b70e46-d8b2-4937-94a7-8c17c64e5e7f",
              "created_at": "2018-04-12T18:05:36+00:00",
              "started_at": "2018-04-12T18:05:36+00:00",
              "finished_at": "2018-04-12T18:05:39+00:00",
              "message": null,
              "request_status": "Finished: Deprovision server (e0b70e46-d8b2-4937-94a7-8c17c64e5e7f) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T18:05:39+00:00",
              "read_channel": null,
              "stage": "alerts.finish",
              "dependencies": "https://api.engineyard.com/requests/e0b70e46-d8b2-4937-94a7-8c17c64e5e7f/dependencies",
              "stages": "https://api.engineyard.com/requests/e0b70e46-d8b2-4937-94a7-8c17c64e5e7f/stages",
              "account": "https://api.engineyard.com/accounts/4c083105-1c16-47e8-b3f2-9139fe638119",
              "requester": "https://api.engineyard.com/requests/e0b70e46-d8b2-4937-94a7-8c17c64e5e7f/requester",
              "messages": "https://api.engineyard.com/requests/e0b70e46-d8b2-4937-94a7-8c17c64e5e7f/messages",
              "callback_url": "https://api.engineyard.com/requests/e0b70e46-d8b2-4937-94a7-8c17c64e5e7f/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-04-12T18:04:33+00:00",
              "deleted_at": null,
              "deprovisioned_at": null,
              "disappeared_at": null,
              "enabled": true,
              "name": null,
              "private_hostname": "33e87e9a-dd1e-4e1c-85d6-a60d93867ecb.engineyard.com",
              "provisioned_at": "2018-04-12T18:04:41+00:00",
              "ssh_port": 22,
              "updated_at": "2018-04-12T18:04:44+00:00",
              "provisioned_id": "i-3d37b154",
              "state": "running",
              "account": "https://api.engineyard.com/accounts/273e5e90-0e8a-482d-a635-6fee4f08df7b",
              "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-2a",
              "logs": "https://api.engineyard.com/servers/48/logs",
              "provider": "https://api.engineyard.com/providers/17",
              "public_hostname": "641db4c1-8eb9-4460-af79-fd912b877f1f.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-04-12T18:04:44+00:00",
                  "time_ago": "less than a minute"
                }
              ],
              "dedicated": false,
              "latest_chef_log": null,
              "network": "https://api.engineyard.com/networks/fe0dde8a-f07e-47e8-b684-120290b16527",
              "no_deploy": false,
              "release_label": null,
              "role": "app_master",
              "subnet": "https://api.engineyard.com/subnets/727c64ab-4a0f-4aa7-96ef-8fd3963eebc1"
            }
          }
            
          








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-04-12T18:03:15+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "a7c1d0da-6cc1-4b66-9ad7-293aace05eb3.engineyard.com",
                "provisioned_at": "2018-04-12T18:03:28+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:03:42+00:00",
                "provisioned_id": "i-2b5b7cfb",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/5d66e471-b5da-4c4e-b43b-5277694046ea",
                "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-2b",
                "logs": "https://api.engineyard.com/servers/37/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "be8ce790-f043-4499-a0ad-004bdbdd5fb1.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-04-12T18:03:42+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9c26e4f6-07b2-49df-a07a-a6ab0bab5c94",
                "no_deploy": false,
                "release_label": null,
                "role": "db_master",
                "subnet": "https://api.engineyard.com/subnets/3861c7fc-c5e9-4407-873b-4e6e037345bc"
              },
              {
                "id": 38,
                "created_at": "2018-04-12T18:03:15+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "6abb7d50-4ee6-450e-a429-520ed0eafdf0.engineyard.com",
                "provisioned_at": "2018-04-12T18:03:22+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:03:25+00:00",
                "provisioned_id": "i-1d7d81de",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/5d66e471-b5da-4c4e-b43b-5277694046ea",
                "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-2c",
                "logs": "https://api.engineyard.com/servers/38/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "9218a34e-aa1a-4c52-a6d4-ab301e63fe76.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-04-12T18:03:25+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9c26e4f6-07b2-49df-a07a-a6ab0bab5c94",
                "no_deploy": false,
                "release_label": null,
                "role": "app_master",
                "subnet": "https://api.engineyard.com/subnets/2f210e5f-360d-48e7-b963-64c2561a5fbe"
              },
              {
                "id": 39,
                "created_at": "2018-04-12T18:03:15+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "16065889-b3bb-402f-ae1c-65a5e8754b2f.engineyard.com",
                "provisioned_at": "2018-04-12T18:03:33+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:03:34+00:00",
                "provisioned_id": "i-becfebd4",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/5d66e471-b5da-4c4e-b43b-5277694046ea",
                "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-2b",
                "logs": "https://api.engineyard.com/servers/39/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "c0f80136-c4fd-4071-9a39-61da4df135b0.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-04-12T18:03:34+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9c26e4f6-07b2-49df-a07a-a6ab0bab5c94",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/3861c7fc-c5e9-4407-873b-4e6e037345bc"
              },
              {
                "id": 40,
                "created_at": "2018-04-12T18:03:15+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "46724923-4f69-48c5-9bbf-305d276185d8.engineyard.com",
                "provisioned_at": "2018-04-12T18:03:37+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:03:39+00:00",
                "provisioned_id": "i-e4d28f79",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/5d66e471-b5da-4c4e-b43b-5277694046ea",
                "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-2a",
                "logs": "https://api.engineyard.com/servers/40/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "653b0a2b-448d-4eff-94e7-44c9e1318ed5.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-04-12T18:03:39+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9c26e4f6-07b2-49df-a07a-a6ab0bab5c94",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/5303503a-eb7e-4a9a-b715-93ccfc99ddd8"
              },
              {
                "id": 41,
                "created_at": "2018-04-12T18:03:15+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "37ff5f8d-9e59-482d-9e4a-80018635861b.engineyard.com",
                "provisioned_at": "2018-04-12T18:03:41+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:03:45+00:00",
                "provisioned_id": "i-d8fbd055",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/5d66e471-b5da-4c4e-b43b-5277694046ea",
                "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-2c",
                "logs": "https://api.engineyard.com/servers/41/logs",
                "provider": "https://api.engineyard.com/providers/13",
                "public_hostname": "bbb23b47-744a-40ce-b9dd-818b65406e99.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-04-12T18:03:44+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/9c26e4f6-07b2-49df-a07a-a6ab0bab5c94",
                "no_deploy": false,
                "release_label": null,
                "role": "db_slave",
                "subnet": "https://api.engineyard.com/subnets/2f210e5f-360d-48e7-b963-64c2561a5fbe"
              }
            ]
          }
            
          








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": 46,
                "created_at": "2018-04-12T18:03:53+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "25bb0100-a683-48f9-8261-d0daf087cf18.engineyard.com",
                "provisioned_at": "2018-04-12T18:04:21+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:04:25+00:00",
                "provisioned_id": "i-497bf632",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e6bfe2e-3d1a-471d-95e8-d5facffec642",
                "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": "3bc3a883-abd5-49a8-9db9-db02d7bb2d0a.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-04-12T18:04:24+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/163e576e-f1f3-4158-87ac-8408ddb8ad84",
                "no_deploy": false,
                "release_label": null,
                "role": "db_slave",
                "subnet": "https://api.engineyard.com/subnets/458e5149-7484-444c-bd79-cd2b5b5382db"
              },
              {
                "id": 42,
                "created_at": "2018-04-12T18:03:52+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "ec6f0115-25c9-4f1b-9c3d-a06ff9eb6f72.engineyard.com",
                "provisioned_at": "2018-04-12T18:04:08+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:04:22+00:00",
                "provisioned_id": "i-b2323813",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e6bfe2e-3d1a-471d-95e8-d5facffec642",
                "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": "ff5fcc9e-62b9-4ff5-8f7b-4109b2778ddf.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-04-12T18:04:22+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/163e576e-f1f3-4158-87ac-8408ddb8ad84",
                "no_deploy": false,
                "release_label": null,
                "role": "db_master",
                "subnet": "https://api.engineyard.com/subnets/5eac7a3b-de33-4990-9e77-8e63ce814571"
              },
              {
                "id": 43,
                "created_at": "2018-04-12T18:03:52+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "7e4fec05-aaa4-4e35-ad7f-2738c77b92c5.engineyard.com",
                "provisioned_at": "2018-04-12T18:04:00+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:04:04+00:00",
                "provisioned_id": "i-7969edb7",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e6bfe2e-3d1a-471d-95e8-d5facffec642",
                "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": "b7e3be03-401e-491d-a1b5-1a4a468514d5.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-04-12T18:04:04+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/163e576e-f1f3-4158-87ac-8408ddb8ad84",
                "no_deploy": false,
                "release_label": null,
                "role": "app_master",
                "subnet": "https://api.engineyard.com/subnets/458e5149-7484-444c-bd79-cd2b5b5382db"
              },
              {
                "id": 44,
                "created_at": "2018-04-12T18:03:52+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "0dac3357-0cd8-4197-824e-d24654ba70dc.engineyard.com",
                "provisioned_at": "2018-04-12T18:04:13+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:04:15+00:00",
                "provisioned_id": "i-6358916a",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e6bfe2e-3d1a-471d-95e8-d5facffec642",
                "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": "bba3dd07-0f21-44d2-8102-268860052a6a.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-04-12T18:04:15+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/163e576e-f1f3-4158-87ac-8408ddb8ad84",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/5eac7a3b-de33-4990-9e77-8e63ce814571"
              },
              {
                "id": 45,
                "created_at": "2018-04-12T18:03:52+00:00",
                "deleted_at": null,
                "deprovisioned_at": null,
                "disappeared_at": null,
                "enabled": true,
                "name": null,
                "private_hostname": "98495f84-a09c-4d89-ab63-8443dd219ad2.engineyard.com",
                "provisioned_at": "2018-04-12T18:04:17+00:00",
                "ssh_port": 22,
                "updated_at": "2018-04-12T18:04:19+00:00",
                "provisioned_id": "i-1b521b2f",
                "state": "running",
                "account": "https://api.engineyard.com/accounts/4e6bfe2e-3d1a-471d-95e8-d5facffec642",
                "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-2c",
                "logs": "https://api.engineyard.com/servers/45/logs",
                "provider": "https://api.engineyard.com/providers/15",
                "public_hostname": "e8049459-2292-4615-b983-2f9db413c555.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-04-12T18:04:18+00:00",
                    "time_ago": "less than a minute"
                  }
                ],
                "dedicated": false,
                "latest_chef_log": null,
                "network": "https://api.engineyard.com/networks/163e576e-f1f3-4158-87ac-8408ddb8ad84",
                "no_deploy": false,
                "release_label": null,
                "role": "app",
                "subnet": "https://api.engineyard.com/subnets/1d00671b-f4c5-4627-a5db-ebb77fba5b96"
              }
            ]
          }
            
          








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": "9b5df3d6-6b15-41e4-be39-4b6b3361e6f2",
              "created_at": "2018-04-12T18:07:21+00:00",
              "started_at": "2018-04-12T18:07:21+00:00",
              "finished_at": "2018-04-12T18:07:26+00:00",
              "message": null,
              "request_status": "Finished:  (9b5df3d6-6b15-41e4-be39-4b6b3361e6f2) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T18:07:26+00:00",
              "read_channel": null,
              "stage": "update-and-apply",
              "dependencies": "https://api.engineyard.com/requests/9b5df3d6-6b15-41e4-be39-4b6b3361e6f2/dependencies",
              "stages": "https://api.engineyard.com/requests/9b5df3d6-6b15-41e4-be39-4b6b3361e6f2/stages",
              "account": "https://api.engineyard.com/accounts/e3401376-38fb-4084-be9b-486bf0e6060f",
              "requester": "https://api.engineyard.com/requests/9b5df3d6-6b15-41e4-be39-4b6b3361e6f2/requester",
              "messages": "https://api.engineyard.com/requests/9b5df3d6-6b15-41e4-be39-4b6b3361e6f2/messages",
              "callback_url": "https://api.engineyard.com/requests/9b5df3d6-6b15-41e4-be39-4b6b3361e6f2/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": "549aaed3-ebcc-4287-9f50-bf0369cc8310",
              "created_at": "2018-04-12T18:06:46+00:00",
              "started_at": "2018-04-12T18:06:46+00:00",
              "finished_at": "2018-04-12T18:06:50+00:00",
              "message": null,
              "request_status": "Finished:  (549aaed3-ebcc-4287-9f50-bf0369cc8310) (less than a minute ago)",
              "successful": true,
              "updated_at": "2018-04-12T18:06:50+00:00",
              "read_channel": null,
              "stage": "update-and-apply",
              "dependencies": "https://api.engineyard.com/requests/549aaed3-ebcc-4287-9f50-bf0369cc8310/dependencies",
              "stages": "https://api.engineyard.com/requests/549aaed3-ebcc-4287-9f50-bf0369cc8310/stages",
              "account": "https://api.engineyard.com/accounts/bf4f0f37-98bb-40a7-a541-d6e95dfd7d5a",
              "requester": "https://api.engineyard.com/requests/549aaed3-ebcc-4287-9f50-bf0369cc8310/requester",
              "messages": "https://api.engineyard.com/requests/549aaed3-ebcc-4287-9f50-bf0369cc8310/messages",
              "callback_url": "https://api.engineyard.com/requests/549aaed3-ebcc-4287-9f50-bf0369cc8310/callback",
              "progress": false,
              "resource": "https://api.engineyard.com/servers/63"
            }
          }