Acquia Environments API
The Environments API from Acquia — 73 operation(s) for environments.
Operations 102
POST
/environments/{environmentId}/actions/clear-caches
Clears the caches for one or more domains attached to this environment
#
POST
/environments/{environmentId}/artifacts/actions/switch
Deploys an artifact to this environment
#
POST
/environments/{environmentId}/code/actions/switch
Switches code on this environment to a different branch or release tag
#
GET
/environments/{environmentId}/databases/{databaseName}
Return details about a specific database
#
GET
/environments/{environmentId}/databases/{databaseName}/php-config
Returns PHP configuration details for this database
#
GET
/environments/{environmentId}/databases/{databaseName}/backups/{backupId}
Return details about a specific backup
#
DELETE
/environments/{environmentId}/databases/{databaseName}/backups/{backupId}
Deletes a database backup
#
GET
/environments/{environmentId}/databases/{databaseName}/backups/{backupId}/actions/download
Downloads the database backup file
#
POST
/environments/{environmentId}/databases/{databaseName}/backups/{backupId}/actions/restore
Restores this backup to the appropriate environment's database
#
POST
/environments/{environmentId}/domains/actions/clear-varnish
Clears the Varnish cache for one or more domains attached to this environment
#
POST
/environments/{environmentId}/domains/{domain}/actions/clear-varnish
Clears the Varnish cache for the specified domain
#
POST
/environments/{environmentId}/domains/{domain}/actions/clear-caches
Clears the caches for the specified domain
#
GET
/environments/{environmentId}/logs
Returns a list of log files for this environment available for download
#
POST
/environments/{environmentId}/livedev/actions/disable
Disable Live Development on this environment
#
POST
/environments/{environmentId}/livedev/actions/enable
Enable Live Development on this environment
#
GET
/environments/{environmentId}/log-forwarding-destinations
Returns a collection of log forwarding destinations for this environment
#
POST
/environments/{environmentId}/log-forwarding-destinations
Creates a log forwarding destination
#
GET
/environments/{environmentId}/log-forwarding-destinations/{logForwardingDestinationUuid}
Returns the specified log forwarding destination
#
PUT
/environments/{environmentId}/log-forwarding-destinations/{logForwardingDestinationUuid}
Updates an environment's log forwarding destination
#
DELETE
/environments/{environmentId}/log-forwarding-destinations/{logForwardingDestinationUuid}
Deletes the specified log forwarding destination
#
POST
/environments/{environmentId}/log-forwarding-destinations/{logForwardingDestinationUuid}/actions/disable
Disables the specified log forwarding destination
#
POST
/environments/{environmentId}/log-forwarding-destinations/{logForwardingDestinationUuid}/actions/enable
Enables the specified log forwarding destination
#
GET
/environments/{environmentId}/metrics
Does not return any data. Allows traversal to metrics groups endpoints
#
GET
/environments/{environmentId}/metrics/stackmetrics
Does not return any data. Allows traversal to StackMetrics endpoints
#
GET
/environments/{environmentId}/metrics/stackmetrics/data
Returns StackMetrics data for the metrics specified in the filter paramater…
#
GET
/environments/{environmentId}/metrics/usage
Retrieves traversal links for an environment's usage data
#
GET
/environments/{environmentId}/metrics/usage/{usageMetric}
Retrieves usage metric data for an environment
#
POST
/environments/{environmentId}/mod-proxy/actions/disable
Disables mod proxy for an environment
#
POST
/environments/{environmentId}/production-mode/actions/disable
Disables production mode for an environment
#
POST
/environments/{environmentId}/production-mode/actions/enable
Enables production mode for an environment
#
GET
/environments/{environmentId}/search
Returns a traversal endpoint for search entities for the environment
#
GET
/environments/{environmentId}/search/indexes
Returns a collection of search indexes for an environment
#
GET
/environments/{environmentId}/search/indexes/{indexId}
Returns a search configuration set for an application
#
PUT
/environments/{environmentId}/search/indexes/{indexId}
Updates a search index on an environment
#
DELETE
/environments/{environmentId}/search/indexes/{indexId}
Removes and deletes a specific search index from an environment
#
POST
/environments/{environmentId}/servers/{serverId}/actions/upgrade
Upgrades a server from "precise" to "xenial"
#
GET
/environments/{environmentId}/ssl/certificates/{certificateId}
Returns a specific certificate by certificate id
#
DELETE
/environments/{environmentId}/ssl/certificates/{certificateId}
Deletes a specific certificate by its ID
#
POST
/environments/{environmentId}/ssl/certificates/{certificateId}/actions/activate
Activates an SSL certificate
#
POST
/environments/{environmentId}/ssl/certificates/{certificateId}/actions/deactivate
Deactivates an active SSL certificate
#
POST
/environments/{environmentId}/ssl/csrs
Generates a certificate signing request (CSR) for one or more domains
#
GET
/environments/{environmentId}/ssl/csrs/{certificateId}
Returns the certificate signing request for the certificate specified by id
#
DELETE
/environments/{environmentId}/ssl/csrs/{certificateId}
Deletes the certificate signing request
#
GET
/environments/{environmentId}/variables
Returns a list of environment variables associated with this environment
#
GET
/environments/{environmentId}/variables/{environmentVariableName}
Get an environment variable associated with this environment
#
DELETE
/environments/{environmentId}/variables/{environmentVariableName}
Removes an environment variable from an environment
#
PUT
/environments/{environmentId}/variables/{environmentVariableName}
Updates an environment variable on an environment
#