Blueprints API


Deletes the blueprint

DELETE /blueprints/:blueprint

Response

          Status: 204 No Content
          Content-Type: 
          
            
          {
          }
            
          








Get a blueprint

GET /blueprints/:blueprint

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "blueprint": {
              "id": "f675d4e7-f57c-48ff-8403-1b705d868b91",
              "account": "https://api.engineyard.com/accounts/f0421a5a-dad0-4a32-b91a-025fa6ce38eb",
              "environment": "https://api.engineyard.com/environments/35",
              "created_at": "2017-10-10T15:58:30+00:00",
              "updated_at": "2017-10-10T15:58:30+00:00",
              "data": {
                "app_instances": [
                  {
                    "encrypted": false,
                    "flavor": "m3_large",
                    "mnt_volume_size": 25,
                    "name": null,
                    "volume_iops": null,
                    "volume_size": 15
                  },
                  {
                    "encrypted": false,
                    "flavor": "m3_large",
                    "mnt_volume_size": 25,
                    "name": null,
                    "volume_iops": null,
                    "volume_size": 15
                  }
                ],
                "db_master": [
                  {
                    "encrypted": false,
                    "flavor": "m3_large",
                    "mnt_volume_size": 25,
                    "name": null,
                    "volume_iops": null,
                    "volume_size": 15
                  }
                ],
                "db_slaves": [
          
                ],
                "utils": [
          
                ]
              },
              "name": "spec_0"
            }
          }
            
          








Lists blueprints

GET /blueprints

Parameters

account
required: false
Filter by account
environment
required: false
Filter by environment
name
required: false
Filter by name

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "blueprints": [
              {
                "id": "79a361fe-1ab5-41a2-979a-03c235cb2d33",
                "account": "https://api.engineyard.com/accounts/22c85eb1-d5a1-4d58-aac5-22c5ab056a0d",
                "environment": "https://api.engineyard.com/environments/32",
                "created_at": "2017-10-10T15:57:22+00:00",
                "updated_at": "2017-10-10T15:57:22+00:00",
                "data": {
                  "app_instances": [
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    },
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    }
                  ],
                  "db_master": [
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    }
                  ],
                  "db_slaves": [
          
                  ],
                  "utils": [
          
                  ]
                },
                "name": "spec_0"
              }
            ]
          }
            
          








Lists blueprints by account

GET /blueprints

Parameters

account
required: false
Filter by account
environment
required: false
Filter by environment
name
required: false
Filter by name

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "blueprints": [
              {
                "id": "f94a8260-552e-4cf0-b3ce-8adb9a36effd",
                "account": "https://api.engineyard.com/accounts/dd013543-db3a-4939-9983-4ec7fc034600",
                "environment": "https://api.engineyard.com/environments/34",
                "created_at": "2017-10-10T15:58:10+00:00",
                "updated_at": "2017-10-10T15:58:10+00:00",
                "data": {
                  "app_instances": [
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    },
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    }
                  ],
                  "db_master": [
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    }
                  ],
                  "db_slaves": [
          
                  ],
                  "utils": [
          
                  ]
                },
                "name": "spec_0"
              }
            ]
          }
            
          








Lists blueprints by environment

GET /blueprints

Parameters

account
required: false
Filter by account
environment
required: false
Filter by environment
name
required: false
Filter by name

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "blueprints": [
              {
                "id": "578481ab-b642-4b91-94f4-81d429d9c315",
                "account": "https://api.engineyard.com/accounts/9e3e6226-4318-4365-8a50-4ee473ad28a0",
                "environment": "https://api.engineyard.com/environments/33",
                "created_at": "2017-10-10T15:57:44+00:00",
                "updated_at": "2017-10-10T15:57:44+00:00",
                "data": {
                  "app_instances": [
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    },
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    }
                  ],
                  "db_master": [
                    {
                      "encrypted": false,
                      "flavor": "m3_large",
                      "mnt_volume_size": 25,
                      "name": null,
                      "volume_iops": null,
                      "volume_size": 15
                    }
                  ],
                  "db_slaves": [
          
                  ],
                  "utils": [
          
                  ]
                },
                "name": "spec_0"
              }
            ]
          }
            
          








Updates the name

PUT /blueprints/:blueprint_id

Parameters

blueprint
required: true
Hash of options to update on the blueprint.
name
required: true
scope: blueprint
New name of the blueprint.

Request

          Accept: application/vnd.engineyard.v3+json
          Content-Type: application/json
          
            
          {
            "blueprint": {
              "name": "8bf615"
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "blueprint": {
              "id": "7cb0a0d8-585a-40de-bfa5-a064e429ecae",
              "account": "https://api.engineyard.com/accounts/bdb9836c-635d-41c0-b4d0-172b3baf1382",
              "environment": "https://api.engineyard.com/environments/36",
              "created_at": "2017-10-10T15:58:50+00:00",
              "updated_at": "2017-10-10T15:58:50+00:00",
              "data": {
                "app_instances": [
                  {
                    "encrypted": false,
                    "flavor": "m3_large",
                    "mnt_volume_size": 25,
                    "name": null,
                    "volume_iops": null,
                    "volume_size": 15
                  },
                  {
                    "encrypted": false,
                    "flavor": "m3_large",
                    "mnt_volume_size": 25,
                    "name": null,
                    "volume_iops": null,
                    "volume_size": 15
                  }
                ],
                "db_master": [
                  {
                    "encrypted": false,
                    "flavor": "m3_large",
                    "mnt_volume_size": 25,
                    "name": null,
                    "volume_iops": null,
                    "volume_size": 15
                  }
                ],
                "db_slaves": [
          
                ],
                "utils": [
          
                ]
              },
              "name": "8bf615"
            }
          }