Sign-in-with-twitter-lighter

Channel: DreamHost

Dreamhost Access the DreamHost API.

You can use ChirpBot to do anything that can be done with the DreamHost API, including rebooting or resizing servers, managing mailing lists, creating and deleting DNS entries, and more!

To use this channel, you'll need to set up an API Key using the DreamHost Panel.

Don't have a DreamHost account? Sign up and use code SAVER60 to save $30 on a monthly plan or $60 on an annual plan.

ChirpBot is not liable or responsible for the underlying services or content that it provides access to. We will strive to provide quality service and support to our users, but cannot guarantee the availability of these services.

Following are the available chirps (don't forget - you can always use the 'help' chirp to retrieve this list):

ps-list
Retrieves a list of Dreamhost PS instances.
Example:  d chirpbot ps-list
ps-reboot
Reboots a specified PS instance (use ps-list to retrieve the ps instance).
Example:  d chirpbot ps-reboot psmysql9999
ps-resize
Resize the memory of a DreamHost PS.
Example:  d chirpbot ps-resize psmysql9999 512
ps-list-usage
List the last 30ish days of memory usage and cpu load readings for a DreamHost PS.
Example: d chirpbot ps-list-usage psmysql9999
ps-list-reboot
List the full history of reboots to a DreamHost PS from most recent to oldest.
Example: d chirpbot ps-list-reboot psmysql9999
ps-list-resize
Shows a full list of all resizes and associated charges for a DreamHost PS.
Example: d chirpbot ps-list-resize psmysql9999
ps-list-settings
Lists all the current settings for a DreamHost PS.
Example: d chirpbot ps-list-settings psmysql9999
ps-set-settings
Set all the settings for a DreamHost PS. Anything you don't pass in will 
remain untouched. Descriptions of the various settings are at 
https://panel.dreamhost.com/?tree=vserver.settings
Example: d chirpbot ps-set-settings servername comment=my%20ps%2
ps-add
Schedule the creation of a new DreamHost PS to your account (currently 
may take a day or more to actually complete).
Example:  d chirpbot ps-add account_id=xyz type=web movedata=yes
ps-list-pending
List all DreamHost PSes scheduled to be created on this account.
Example:  d chirpbot ps-list-pending
ps-remove-pending
Removes all DreamHost PSes scheduled to be created on this account.
Example:  d chirpbot ps-remove-pending
users-list
Dump a list of all users (including ftp, shell, vpn, anonymous ftp, backup, and 
mailboxes) on all accounts you have access to. 
Example:  d chirpbot users-list
users-list-nopw
Dump a list of all users (including ftp, shell, vpn, anonymous ftp, backup, and 
mailboxes) on all accounts you have access to, but with the passwords 
********ed out. 
Example:  d chirpbot users-list-nopw
dns-list
Dump a list of all DNS records for all domains (not including registrations)
on all accounts you have access to.
Example: d chirpbot dns-list
domains-list
Dump a list of all hosted domains (not including registrations) on 
all accounts you have access to.
Example:  d chirpbot domains-list
dns-add
Adds a new dns record to a domain you (already) have hosted with DreamHost.
Example:  d chirpbot dns-add testing.groo.com A 1.2.3.4
dns-remove
Removes an editable dns record.
Example:  d chirpbot dns-remove testing.groo.com A 1.2.3.4
lists-list
Dump a list of all announcement lists you have on your account(s). 
Example:  d chirpbot lists-list
subscribers-list
Dump a list of all subscribers to an announcement list. 
Example:  d chirpbot subscribers-list announcements mydomain.com
subscribers-add
Sends an opt-in email to an email address to ask them to subscribe to 
an announcement list.
Example:  d chirpbot subscribers-add announcements mydomain.com 
email@domain.com name=New%20User
subscribers-remove
Immediately removes an email address from an announcement list.
Example:  d chirpbot subscribers-remove announcements mydomain.com 
email@domain.com
cmds-list
Dump a list of all commands this API Key has access to. The commands listed are 
the DreamHost API commands, not the shortened ChirpBot commands, but 
you can use either one in your chirps.
Example:  d chirpbot cmds-list
mysql-dbs-list
Dump a list of all active MySQL databases on all accounts you have access to.
Example:  d chirpbot mysql-list-dbs
mysql-hostnames-list
Dump a list of all active MySQL hostnames, and the database servers they refer
to, for all accounts you can access.
Example:  d chirpbot mysql-list-hostnames
mysql-users-list
Dump a list of MySQL users and their privileges, for all databases on all 
accounts you have access to. 
Example:  d chirpbot mysql-list-users
mail-list-filters
Dump a list of all e-mail filter rules for all users on accounts you have access 
to. 
Example:  d chirpbot mail-list-filters
post-announcement
Post an announcement to an announcement list.
Example:  
d chirpbot post-announcement listname mydomain.com Subject 
Message%20Text Name%20<yourname@domain.com>
registrations-list
Dump a list of all commands this API Key has access to. The commands listed are 
the DreamHost API commands, not the shortened ChirpBot commands, but 
you can use either one in your chirps.
Example:  d chirpbot registrations-list
mysql-hostnames-add
Add a MySQL hostname.
Example:  d chirpbot mysql-hostnames-add mysql.domain.com
mysql-hostnames-remove
Remove a MySQL hostname.
Example:  d chirpbot mysql-hostnames-remove mysql.domain.com