Addons API


List addons

GET /accounts/:account/addons

Parameters

account
required: false
Account id

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "addons": [
              {
                "id": 1,
                "name": "nobis_delectus",
                "sso_url": null,
                "vars": {
                  "username": "eldon.rice",
                  "password": "63447a531272"
                },
                "addon_attachments": "https://api.engineyard.com/accounts/e55b75ff-69b5-4157-9b79-4f2c52c32b04/addons/1/attachments"
              },
              {
                "id": 2,
                "name": "voluptate_veniam",
                "sso_url": null,
                "vars": {
                  "username": "jonathan_terry",
                  "password": "b9daaea33a06"
                },
                "addon_attachments": "https://api.engineyard.com/accounts/e55b75ff-69b5-4157-9b79-4f2c52c32b04/addons/2/attachments"
              }
            ]
          }
            
          








Delete an addon

DELETE /accounts/:account/addons/:addon_id

Parameters

account
required: false
Account id
addon_id
required: false
Addon id

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "addon": {
              "id": 7,
              "name": "enim_quis",
              "sso_url": null,
              "vars": {
                "username": "sydni",
                "password": "f069567ebfc0"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/1758f9dc-325a-4492-9b1d-cc7ff1f0f3ad/addons/7/attachments"
            }
          }
            
          








Update an addon

PUT /accounts/:account/addons/:addon_id

Parameters

account
required: false
Account id
addon_id
required: false
Addon id
name
required: false
{"scope"=>"addon"}
vars
required: false
{"scope"=>"addon"}

Request

          Accept: application/json
          Content-Type: application/json
          
            
          {
            "addon": {
              "name": "super_shared_database",
              "vars": {
                "connection_string": "REVOKED"
              }
            }
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "addon": {
              "id": 5,
              "name": "super_shared_database",
              "sso_url": null,
              "vars": {
                "connection_string": "REVOKED"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/95a3cbc5-e4c3-4f74-ac79-39768ab4d1e3/addons/5/attachments"
            }
          }
            
          








Show an addon

GET /accounts/:account/addons/:addon_id

Parameters

account
required: false
Account id
addon_id
required: false
Addon id

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "addon": {
              "id": 3,
              "name": "non_pariatur",
              "sso_url": null,
              "vars": {
                "username": "madeline",
                "password": "fdb6196137f4"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/5508764c-a5f3-479a-bb83-833d4092d57a/addons/3/attachments"
            }
          }