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": "neque_voluptatem",
              "sso_url": null,
              "vars": {
                "username": "deron_hermiston",
                "password": "32abd49f1427"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/bbde9b48-9bf2-44fe-8a50-643f1fa02123/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": "id_qui",
                "sso_url": null,
                "vars": {
                  "username": "stacy",
                  "password": "05a84840bee5"
                },
                "addon_attachments": "https://api.engineyard.com/accounts/203ed15d-1765-4835-90c9-a2c760716714/addons/1/attachments"
              },
              {
                "id": 2,
                "name": "qui_nihil",
                "sso_url": null,
                "vars": {
                  "username": "clay_lesch",
                  "password": "52d4f58698aa"
                },
                "addon_attachments": "https://api.engineyard.com/accounts/203ed15d-1765-4835-90c9-a2c760716714/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": "ut_incidunt",
              "sso_url": null,
              "vars": {
                "username": "dannie",
                "password": "55716bbbea5e"
              },
              "addon_attachments": "https://api.engineyard.com/accounts/a81f6184-7bdb-4160-83b1-f362b6cfe381/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/6f10d11c-5483-4e0f-88fa-cc59cc73f8b9/addons/5/attachments"
            }
          }