Website application Pressable
Create a production application
Creates a new managed Pressable production application on the given website and provisions it at
the hosting provider. The application starts in a creating state while provisioning completes.
path Parameters
websiteThe website UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create a production application › Request Body
namedatacenterphp_versiontypeApplication type: wordpress, shopify or laravel.
hosting_instance_idID of the Pressable hosting provider instance to provision on.
woocommerceProvision the application with WooCommerce pre-installed.
Create a production application › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atCreate a staging environment
Clones the production application into a new staging environment. Only one staging environment is allowed per production application, and the production application must be active.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create a staging environment › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atUpdate an application
Updates the basic settings (currently the display name) of a managed Pressable application.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update an application › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atChange the PHP version
Changes the PHP version of the application at the hosting provider and records the change.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Change the PHP version › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atSuspend or resume an application
Suspends or resumes the application at the hosting provider. A suspended site is taken offline until it is resumed.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Suspend or resume an application › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atSchedule deletion
Schedules the application for deletion on the given date. If the date is today the deletion runs immediately. A production application cannot be deleted while it still has staging environments.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Schedule deletion › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atCancel scheduled deletion
Cancels a previously scheduled deletion and returns the application to the active state.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Cancel scheduled deletion › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atGet a phpMyAdmin URL
Returns a temporary single sign-on URL to the phpMyAdmin database manager for the application.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a phpMyAdmin URL › Responses
urlList SFTP users
Returns the SFTP/SSH accounts configured for the application.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List SFTP users › Responses
Reset SFTP passwords
Resets the password of every SFTP/SSH account on the application at the hosting provider and returns the accounts with their new passwords.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Reset SFTP passwords › Responses
List backups and snapshots
Returns the automatic backups and manually created snapshots available for the application at the hosting provider.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List backups and snapshots › Responses
Array of WebsiteApplicationPressableBackupResource
idcategorytypestatussizecreated_atdelete_atDownload a backup
Streams the given automatic backup as a .tar.bz2 archive download.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
backupIdHeaders
X-Organization-IdUUID of the organization (tenant) the request operates on.
Download a backup › Responses
Create a snapshot
Creates a manual backup snapshot of the application's files or database at the hosting provider.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create a snapshot › Request Body
backup_typeWhat to snapshot: files or database.
Create a snapshot › Responses
WebsiteApplicationPressableBackupResource
idcategorytypestatussizecreated_atdelete_atDownload a snapshot
Streams the given manual snapshot as a .tar.bz2 archive download.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
backupIdHeaders
X-Organization-IdUUID of the organization (tenant) the request operates on.
Download a snapshot › Responses
Delete a snapshot
Deletes the given manual snapshot at the hosting provider.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
backupIdHeaders
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete a snapshot › Responses
WebsiteApplicationPressableBackupResource
idcategorytypestatussizecreated_atdelete_atRestore a backup
Starts restoring the application from the given backup or snapshot. Only one restore can run at a time per application.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Restore a backup › Request Body
backup_typeWhat to restore: files or database.
backup_idID of the backup or snapshot to restore.
Restore a backup › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atToggle edge cache
Enables or disables the global edge (page) cache for the application at the hosting provider.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Toggle edge cache › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atFlush edge cache
Clears the edge (page) cache for the application at the hosting provider.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Flush edge cache › Responses
flushedSet edge cache defensive mode
Enables or disables defensive mode on the edge cache for a limited duration. Pass a duration such as
10-minutes, 1-hour or 1-day, or an empty value to disable defensive mode.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Set edge cache defensive mode › Request Body
durationHow long defensive mode stays active, e.g. 10-minutes, 1-hour or 1-day. Empty disables it.
Set edge cache defensive mode › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atFlush object cache
Clears the persistent object cache for the application at the hosting provider.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Flush object cache › Responses
flushedAdd a domain
Links a domain (optionally with a subdomain) to the Pressable application. The domain must belong to the website and not already be attached to the application.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Add a domain › Request Body
subdomaindomain_idID of the website domain to attach.
Add a domain › Responses
WebsiteApplicationPressableDomainResource
Verify a domain
Asks the hosting provider to verify the domain's ownership/DNS. Staging domains cannot be verified.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
websiteApplicationDomainThe website application domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Verify a domain › Responses
WebsiteApplicationPressableDomainResource
Make a domain primary
Marks the domain as the application's primary domain and demotes any previously primary domain.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
websiteApplicationDomainThe website application domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Make a domain primary › Responses
WebsiteApplicationPressableDomainResource
Apply pointing DNS records
Automatically adds the DNS records that point the domain at the Pressable application, when the
domain is managed within Clienvy. Also requires the domain.manage-dns permission.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
websiteApplicationDomainThe website application domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Apply pointing DNS records › Responses
WebsiteApplicationPressableDomainResource
Get SSL details
Fetches the current SSL certificate status and details for the domain from the hosting provider.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
websiteApplicationDomainThe website application domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get SSL details › Responses
Retry SSL provisioning
Triggers a new SSL certificate provisioning attempt on the hosting provider and returns the refreshed SSL details.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
websiteApplicationDomainThe website application domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Retry SSL provisioning › Responses
Remove a domain
Detaches the domain from the application. The primary domain and staging domains cannot be removed.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
websiteApplicationDomainThe website application domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Remove a domain › Responses
WebsiteApplicationPressableDomainResource
Get PHP logs
Returns a paginated page of the application's PHP error logs from the hosting provider.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
query Parameters
pagePage number to fetch.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get PHP logs › Responses
Get web server logs
Returns a paginated page of the application's web server access logs from the hosting provider, optionally filtered by HTTP status code.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
query Parameters
pagePage number to fetch.
statusFilter by HTTP response status code.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get web server logs › Responses
Activate APM
Activates Application Performance Monitoring on the application for a fixed number of minutes.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Activate APM › Request Body
durationHow long APM stays active, in minutes: 5, 10 or 30.
Activate APM › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atDeactivate APM
Turns off Application Performance Monitoring on the application before its scheduled expiry.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Deactivate APM › Responses
WebsiteApplicationResource
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object | |
| type = object |
idnamestatusenvironment_typetypemain_urlmain_domainremarksparent_application_idunmanaged_hosting_nameunmanaged_hosting_urlupdated_atcreated_atGet the APM dashboard URL
Returns a URL to the Application Performance Monitoring dashboard for the application.
path Parameters
websiteThe website UUID
websiteApplicationThe website application UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get the APM dashboard URL › Responses
url