Addons API


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": "voluptates_accusamus",
              "sso_url": null,
              "vars": {
                "username": "monty.lockman",
                "password": "443e31ae78be"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/5dd1860a-573a-4f88-95c8-3410d1b2ec39/addons/7/attachments"
            }
          }
            
          








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": "ut_ut",
                "sso_url": null,
                "vars": {
                  "username": "eugene_renner",
                  "password": "10042969decf"
                },
                "addon_attachments": "https://api.engineyard.com/accounts/d218f4b2-d422-4468-bd2e-3f9f7e4eb7b9/addons/1/attachments"
              },
              {
                "id": 2,
                "name": "eius_recusandae",
                "sso_url": null,
                "vars": {
                  "username": "callie_pacocha",
                  "password": "2f4264ab46eb"
                },
                "addon_attachments": "https://api.engineyard.com/accounts/d218f4b2-d422-4468-bd2e-3f9f7e4eb7b9/addons/2/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": "vero_minus",
              "sso_url": null,
              "vars": {
                "username": "chaim",
                "password": "c2bf416e2c8f"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/697defa7-dab8-428f-91bd-8ca7e8ac2ed3/addons/3/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/1d73327d-c1f0-428f-8db0-7ed4969c944e/addons/5/attachments"
            }
          }