Addons API


Delete an addon

DELETE /accounts/:account/addons/:addon_id

Parameters

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

Request

          Accept: application/json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "addon": {
              "id": 7,
              "name": "quasi_possimus",
              "sso_url": null,
              "vars": {
                "username": "royal",
                "password": "c4614f6a662e"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/a279f7ac-70c2-45d9-b5db-6b9d18e9128f/addons/7/attachments"
            }
          }
            
          








List addons

GET /accounts/:account/addons

Parameters

account
required: false
Account id

Request

          Accept: application/json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "addons": [
              {
                "id": 1,
                "name": "tempore_omnis",
                "sso_url": null,
                "vars": {
                  "username": "brett",
                  "password": "14bfe7c217b5"
                },
                "addon_attachments": "https://api.engineyard.com/accounts/820ae61f-28b0-4336-bdc0-58d792644574/addons/1/attachments"
              },
              {
                "id": 2,
                "name": "ad_eos",
                "sso_url": null,
                "vars": {
                  "username": "aurelio_ruecker",
                  "password": "16346414180c"
                },
                "addon_attachments": "https://api.engineyard.com/accounts/820ae61f-28b0-4336-bdc0-58d792644574/addons/2/attachments"
              }
            ]
          }
            
          








Show an addon

GET /accounts/:account/addons/:addon_id

Parameters

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

Request

          Accept: application/json
          Content-Type: application/json
          
            
          {
          }
            
          

Response

          Status: 200 OK
          Content-Type: application/json; charset=utf-8
          
            
          {
            "addon": {
              "id": 3,
              "name": "facilis_perspiciatis",
              "sso_url": null,
              "vars": {
                "username": "keyon.heel",
                "password": "2acb3e6b008a"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/da63888e-15cd-4e0b-a92e-60758b207559/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/50407e54-322a-4fd3-806c-03f4192c5e76/addons/5/attachments"
            }
          }