Last active
August 29, 2015 14:06
-
-
Save aendra-rininsland/c883852f9269d1bbb70d to your computer and use it in GitHub Desktop.
Dreamhost API Postman collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"name": "Dreamhost API", | |
"timestamp": 1410102836319, | |
"requests": [{ | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "00c11594-394a-410e-9847-760aaa3f1bc8", | |
"name": "MySQL — Add hostname", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Mysql_commands#mysql-add_hostname\">Adds a MySQL hostname</a>.<br/>\n<b>hostname:</b> the full hostname you want to serve as a mysql hostname (unless the domain following the first . is hosted with Dreamhost, you will not be able to access phpMyAdmin from this hostname).", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "mysql-add_hostname", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "hostname", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410103644568 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "056f08c0-9244-4a34-b27c-19ac9ff03118", | |
"name": "PS — Set size", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-set_size\">Resize the memory of a DreamHost PS. You are limited to 30 resizes per day per VPS -- use them wisely!</a> A Service token will also be returned (see <a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#Service_control_commands\">Service Control Commands</a>).<br/>\n<b>ps:</b> the name of the ps (get it from list_ps)\n<b>size:</b> the new size you'd like for your PS, in MB between 300 and 4000", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-set_size", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410117413251 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "10a959d2-4b37-d9e2-519a-de1a749a2247", | |
"name": "User — List Users", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/User_commands#user-list_users\">Dump a list of all users (including ftp, shell, anonymous ftp, backup, and mailboxes) on all accounts you have access to. Passwords are no longer available via this API command</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "user-list_users", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410123099034 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "13a421f7-6511-0be9-3e77-af69a733b03b", | |
"name": "PS — List settings", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-list_settings\">Lists all the current settings for a DreamHost PS</a>.<br/>\n<b>ps </b>: the name of the ps (get it from <a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-list_ps\">list_ps</a>)", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-list_settings", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410117241977 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "28e1f7b5-19fa-72cb-d329-818a962ab008", | |
"name": "DNS — List all DNS records", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dns_commands#dns-list_records\">Returns a TSV of all DNS records</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dns-list_records", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410103118050 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "302b49b5-2e03-58b0-7784-fdbef8508d0f", | |
"name": "Services — Launch FLV video converter", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Services_commands#services-progress\">Launches the Flash Video converter on a video specified by a URL</a>.<br/>\n<b>url:</b> full URL of a video or directory to convert. \n<b>dim:</b> (optional) size of video in \"400x300\" format. \n<b>snap:</b> (optional) number of seconds into the video to generate the preview at. \n<b>ab:</b> (optional) audio bitrate. \n<b>ar:</b> (optional) audio sample rate. \n<b>batch:</b> (optional) set if you pass a path to a directory to convert all files. \n<b>quiet:</b> (optional) only send one email for a batch conversion.\n<b>noemail:</b> (optional) send no emails at all.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "services-progress", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "url", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "dim", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "snap", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "ab", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "ar", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "batch", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "quiet", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "noemail", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410123527381 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "3b10eac4-60bb-c550-0e48-984cccc7f2dd", | |
"name": "PS — Remove pending Private Servers", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-remove_pending_ps\">Removes all DreamHost PSes scheduled to be created on this account.</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-remove_pending_ps", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410116946802 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "3c3e2b8c-64d8-29fc-e89a-e40e8c2872be", | |
"name": "MySQL — List databases", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Mysql_commands#mysql-list_dbs\">Lists databases</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "mysql-list_dbs", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410103502965 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "44ef6a58-c690-4a36-4fd3-d8a4a8650dac", | |
"name": "API — List accessible commands", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Api_commands#api-list_accessible_cmds\">Dump a list of all commands this API Key has access to.</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "api-list_accessible_cmds", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410118370325 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "4dff5384-56c3-0c2c-e8dd-8a21be6ed031", | |
"name": "MySQL — Remove hostname", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Mysql_commands#mysql-remove_hostname\">Removes a MySQL hostname</a>.<br/>\n<b>hostname:</b> the full hostname you want to remove.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "mysql-remove_hostname", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "hostname", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"responses": [], | |
"version": 2 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "51f94f7c-98d7-a0a0-673d-35e652efc496", | |
"name": "PS — Set settings", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-set_settings\">Set all the settings for a DreamHost PS. Anything you don't pass in will remain untouched.</a> Descriptions of the various settings are <a href=\"https://panel.dreamhost.com/?tree=vserver.settings\">here</a>.<br/>\n<b>ps:</b> the name of the ps (get it from list_ps)\n<b>apache2_enabled:</b> 0 or 1 (optional)\n<b>comment:</b> Any string you'd like to describe this ps. (optional)\n<b>courier_enabled:</b> 0 or 1 (optional)\n<b>jabber_transports_enabled:</b> 0 or 1 (optional)\n<b>lighttpd_enabled:</b> 0 or 1 (optional)\n<b>modphp_4_selected:</b> 0 or 1 (optional)\n<b>php_cache_xcache:</b> 0 or 1 (optional)\n<b>proftpd_enabled:</b> 0 or 1 (optional)", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-set_settings", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "apache2_enabled", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "comment", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "courier_enabled", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "jabber_transports_enabled", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "lighttpd_enabled", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "modphp_4_selected", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "php_cache_xcache", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "proftpd_enabled", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410117229379 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "563ac35a-1324-731c-66f2-3fca4e3ee947", | |
"name": "Domain — List registrations", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Domain_commands#domain-list_registrations\">Lists all registrations</a>.<br/>", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "http://wiki.dreamhost.com/API/Domain_commands#domain-list_registrations", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410116360749 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "60f04fb6-c8fd-6916-2360-24adea6a4263", | |
"name": "API — List keys", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Api_commands#api-list_keys\">List all available keys the account has created</a>. Note: You must have access to all api commands (\"*\") to use this command.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "api-list_keys", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410118420657 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "6488e6b6-00fd-cb31-94d7-3f1e65de3cb7", | |
"name": "DNS — Add a new DNS record", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dns_commands#dns-add_record\">Adds a new DNS record</a>.<br />\n<b>name:</b> the full name of the record you'd like to add, e.g. testing.groo.com\n<b>type:</b> A,CNAME,NS,PTR,NAPTR,SRV,TXT,SPF, or AAAA\n<b>value:</b> the DNS record's value.. you should know something about DNS records!\n<b>comment:</b> optional comment for this record.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dns-add_record", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "record", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "type", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "value", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "comment", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410103198180 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "6a0e49c6-fb98-9129-a5af-78c869fa9f67", | |
"name": "PS — Add Private Server", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-add_ps\">Schedule the creation of a new DreamHost PS to your account (currently may take a day or more to actually complete). This will reserve a name for your new PS and return it in the Data section. A Service token will also be returned</a>. (see Service <a href=\"http://wiki.dreamhost.com/API/Services_commands\">Control Commands</a>).<br/>\n<b>account_id:</b> what account you'd like to add this PS to (optional)\n<b>type:</b> either web or mysql\n<b>movedata:</b> if type is <i>web</i>, you must specify yes or no for whether you'd like to copy all your existing users to this new PS.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "http://wiki.dreamhost.com/API/Domain_commands#domain-list_registrations", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "account_id", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "type", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "movedata", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410116675751 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "74c91855-ebc5-ff6d-4509-eea125401fc9", | |
"name": "Services — Progress", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Services_commands#services-progress\">Use this command to get a status report on the job being scheduled. If the token is for a service that completed more than several days ago, it may return the error 'too_old'.</a><br/>\n<b>token:</b> A token from <a href=\"http://wiki.dreamhost.com/API/Services_commands#Related_Commands\"\">a command that issues one</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "services-progress", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "token", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410123337968 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "8628319e-c446-d65b-ac34-e7782c7b3825", | |
"name": "PS — Reboot PS", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-reboot\">Schedule a reboot to a DreamHost PS now</a>.<br/>\n<b>ps:</b> the name of the ps (get it from list_ps)\n", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-reboot", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410117542849 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "9048a782-ae7c-afb0-9256-7d923b1f22c2", | |
"name": "PS — List images", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-list_images\">List all the images available for DreamHost Private Servers. The image name can be used for the \"type\" value for dreamhost_ps-add_ps</a>.\n", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-list_images", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410117663249 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "906cd35a-335e-c38c-fa5e-26236e12bd74", | |
"name": "PS — List PSes", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-list_ps\">Lists all active DreamHost PSes on this account</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-remove_pending_ps", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"responses": [], | |
"version": 2 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "90b39e7c-9954-9104-3944-b7339f4a141e", | |
"name": "DNS — Remove a DNS record", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dns_commands#dns-remove_record\">Removes a DNS record</a>.<br />\n<b>record:</b> the full name of the record you'd like to remove, e.g. testing.groo.com\n<b>type:</b> the type (see dns-add_record) of the record you'd like to remove.\n<b>value:</b> the value (see dns-add_record) of the record you'd like to remove.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dns-remove_record", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "record", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "type", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "value", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410103362371 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "91efb0d3-ada3-3110-377a-e8e8a75f04ef", | |
"name": "Domain — List domains", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Domain_commands#domain-list_domains\">Lists all domains</a>.<br/>", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "domain-list_domains", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410116351538 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "a193275c-9ae9-5c42-6e33-000c77469b89", | |
"name": "PS — List usage", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-list_usage\">List the last 30ish days of our memory usage and cpu load readings for a DreamHost PS (the 00:00:00 timestamp values are daily averages)</a>.<br/>\n<b>ps:</b> the name of the ps (get it from list_ps)\n", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-list_usage", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410117580606 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "a5b80c45-f75a-b285-cc5c-24a2085d0074", | |
"name": "User — Remove user", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/User_commands#user-remove_user\">Removes a user specified by the username</a>. Optionally the type of user or home can be specified to distinguish the user to delete (if the user exists on multiple homes/types). To specify the home, set the username to username@home. If the username has more than one type/home, you can set remove_all to remove all instances of the user (note: if remove_all is set and the type or home is specified, it will remove all instances of username with that type or on that home).<br/>\n<b>username:</b> the user to remove, like testuser42. Optionally use username@home to specify a home, like testuser42@riga\n<b>type:</b> (Optional) the type of user, like ftp, shell, etc\n<b>remove_all:</b> (Optional) set to 1 to remove all instances of this user (if user has multiple types or is on multiple homes)", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "user-remove_user", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410123160584 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "ae20ef8e-575a-51e5-a320-c5f522506782", | |
"name": "MySQL — Add user", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Mysql_commands#mysql-add_user\">Adds a MySQL user</a>. <br/>\n<b>db:</b> the database to which the user should be added.\n<b>user:</b> the username for the new user.\n<b>password:</b> the password for the new user.\n<b>select:</b> Y or N (optional, default is Y).\n<b>insert:</b> Y or N (optional, default is Y).\n<b>update:</b> Y or N (optional, default is Y).\n<b>delete:</b> Y or N (optional, default is Y).\n<b>create:</b> Y or N (optional, default is Y).\n<b>drop:</b> Y or N (optional, default is Y).\n<b>index:</b> Y or N (optional, default is Y).\n<b>alter:</b> Y or N (optional, default is Y).\n<b>hostnames:</b> a newline separated list of hosts, in which % is a wildcard, from which the user is allowed to access the databases (optional, default is %.dreamhost.com).", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "mysql-add_user", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "db", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "user", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "password", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "select", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "insert", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "update", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "delete", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "create", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "drop", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "index", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "alter", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "hostnames", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410116063662 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "aea94715-f2a8-9d79-7d81-80c9ae27f1af", | |
"name": "MySQL — List users", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Mysql_commands#mysql-list_users\">Lists all MySQL users</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "mysql-list_users", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "hostname", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410115878782 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "b3177e2f-0abe-e72d-160b-a7a0e9c56561", | |
"name": "MySQL — Remove user", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Mysql_commands#mysql-remove_user\">Removes a MySQL user from a database</a>.<br/>\n<b>db:</b> the database to which the user should be removed.\n<b>user:</b> the username for the new user.\n<b>password:</b> the password for the new user.\n<b>select:</b> Y or N (optional, default is Y).\n<b>insert:</b> Y or N (optional, default is Y).\n<b>update:</b> Y or N (optional, default is Y).\n<b>delete:</b> Y or N (optional, default is Y).\n<b>create:</b> Y or N (optional, default is Y).\n<b>drop:</b> Y or N (optional, default is Y).\n<b>index:</b> Y or N (optional, default is Y).\n<b>alter:</b> Y or N (optional, default is Y).", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "mysql-add_user", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "db", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "user", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "password", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "select", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "insert", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "update", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "delete", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "create", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "drop", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "index", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "alter", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "hostnames", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"responses": [], | |
"version": 2 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "bd25f3c1-17dd-99b4-2fdb-09d6216e2f6c", | |
"name": "PS — Remove Private Server", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-remove_ps\">Schedule the destruction of a DreamHost PS on your account (currently may take a day or more to actually complete)</a>. A Service token will also be returned (see <a href=\"http://wiki.dreamhost.com/API/Services_commands\">Service Control Commands</a>).<br/>\n<b>ps:</b> the machine name of the ps you'd like to destroy.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "http://wiki.dreamhost.com/API/Domain_commands#domain-list_registrations", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410116883115 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "c155fd5f-8fe6-96cb-980a-8bd53919b876", | |
"name": "PS — List size history", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-list_size_history\">Shows a full list of all resizes and associated charges for a DreamHost PS</a>. <br/>\n<b>ps:</b> the name of the ps (get it from list_ps)", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-list_size_history", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410117324237 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "ce60f13c-4546-ecc9-8a79-48de54bac4cb", | |
"name": "PS — List reboot history", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-list_reboot_history\">List the full history of reboots to a DreamHost PS from most recent to oldest</a>.<br/>\n<b>ps:</b> the name of the ps (get it from list_ps)\n", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-list_reboot_history", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "ps", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410117472024 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "ee7fb527-b746-0e08-bc22-bacb485ff914", | |
"name": "MySQL — List hostnames", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Mysql_commands#mysql-list_hostnames\">Lists MySQL database hostnames</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "mysql-list_hostnames", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"responses": [], | |
"version": 2 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "f00b0eef-347d-9287-04c9-b804d6d9ca87", | |
"name": "Domain — Registrations available", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Domain_commands#domain-registration_available\">Checks to see if a domain name is available to be registered. Must be a .com .net .org or .info domain (and not a sub-domain)</a>.<br/>\n<b>domain:</b> requested domain name", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "http://wiki.dreamhost.com/API/Domain_commands#domain-list_registrations", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"responses": [], | |
"version": 2 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "f53e2bb6-4e57-dc27-519e-fc406b0118b6", | |
"name": "PS — List pending Private Servers", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/Dreamhost_ps_commands#dreamhost_ps-list_pending_ps\">List all DreamHost PSes scheduled to be created on this account</a>.", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "dreamhost_ps-list_pending_ps", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410116870603 | |
}, { | |
"collectionId": "0d19ea7d-8803-9f84-32f0-096a055e1d3e", | |
"id": "fd01623d-6aa8-1d0c-7349-f5c20ca6196c", | |
"name": "User — Add user", | |
"description": "<a href=\"http://wiki.dreamhost.com/API/User_commands#user-add_user\">Adds a user (of type ftp, sftp, or shell). If you do not specify a password, then a password will be randomly generated and displayed in the result. Otherwise the result will just display ******** for the password.</a> A Service token will also be returned (see <a href=\"http://wiki.dreamhost.com/API/Services_commands#Service_control_commands\">Service Control Commands</a>).<br/>\n<b>type:</b> the type of user; can be ftp, sftp, or shell\n<b>username:</b> the desired username for the new user\n<b>gecos:</b> the Full Name for this user, like John Smith (this field cannot be blank)\n<b>server:</b> the home for the user (the shared server or ps). Required.\n<b>shell_type:</b> the type of shell for the user (bash, tcsh, ksh, or zsh). Only required if the type is shell\n<b>password:</b> (optional) the password for the new user. Will be randomly generated if not specified.\n<b>enhanced_security:</b> (optional) set to 1 to enable Enhanced User Security (set to 0 or leave blank to disable)", | |
"url": "https://api.dreamhost.com", | |
"method": "POST", | |
"data": [{ | |
"key": "key", | |
"value": "{{api_key}}", | |
"type": "text" | |
}, { | |
"key": "cmd", | |
"value": "user-add_user", | |
"type": "text" | |
}, { | |
"key": "format", | |
"value": "{{response_format}}", | |
"type": "text" | |
}, { | |
"key": "type", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "username", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "gecos", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "server", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "shell_type", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "password", | |
"value": "", | |
"type": "text" | |
}, { | |
"key": "enhanced_security", | |
"value": "", | |
"type": "text" | |
}], | |
"dataMode": "params", | |
"timestamp": 0, | |
"version": 2, | |
"time": 1410123036051 | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Missing: