Hosting Installation

/hosting-installation

GET

JSON response

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/hosting-installation" | python -m json.tool

POST

JSON request

hosting_account

string

The hosting account ID for which to create the object.

package

string

One of GET /api/v1/hosting-account/{id}.

hostname

string

database_configuration

object

host

The database host

name

The database name

user

The database user’s username

password

The database user’s password

package_configuration

object

All key value from the package’s fields attribute.

JSON response

/hosting-installation/{id}

GET

JSON response

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/hosting-installation/{id}" | python -m json.tool

DELETE

Sample

curl \
--request DELETE \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/hosting-installation/{id}" | python -m json.tool

/hosting-installation/{id}/backup

GET

JSON response

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/hosting-installation/{id}" | python -m json.tool

POST ~~~

JSON response

Sample

curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/hosting-installation/{id}/backup" | python -m json.tool