API Callback Events
Last updated: November 10th 2020
This page simply lists all the available eventType filters which can be passed to the appropriate endpoints in the Webdock API and which events will trigger a callback for for the specified type.
Event Callback Listing
Pass the value shown in eventType to any of the /hooks or /events endpoints that require it
eventType | Description |
---|---|
provision | Called whenever a server is provisioned from a base image or an account snapshot |
restore-server | Called whenever a server is restored to a snapshot |
change-profile | Called whenever a server hardware profile is changed (up or downgraded) |
set-state | Called whenever the server changes state. i.e. when starting, stopping or rebooting |
delete | Called whenever a server is deleted |
backup | Called whenever a server snapshot is created or deleted |
set-hostnames | Called whenever the server identity is modified (hostname/url's) |
update-webroot | Called whenever the server web root is updated |
setup-ssl | Called whenever Let's Encrypt Certbot is run on the server |
install-wordpress | Called whenever Wordpress has been installed |
manage-wordpress | Called whenever any Wordpress management actions are performed |
manage-shelluser | Called whenever a shell user is added, modified or deleted |
manage-keys | Called whenever public keys are changed for a shell user. |
toggle-passwordauth | Called whenever Password-based authentication is toggled on the server |
manage-mysql | Called whenever a Mysql database is created, deleted or modified |
manage-dbuser | Called whenever a Mysql user is created, deleted or modified |
manage-ftpuser | Called whenever an FTP user is created, deleted or modified |
set-php-settings | Called whenever PHP settings are changed |
cronjob | Called whenever a Cron Job is created, deleted or modified |
pull-file | Called whenever a file has been pulled from the server |
push-file | Called whenever a file has been pushed to the server |
delete-file | Called whenever a file has been deleted on the server |
execute-file | Called whenever a file has been executed on the server |