Dedicated Server API
From Hostway API Documentation
(Difference between revisions)
(→Traffic) |
Corinne.chui (Talk | contribs) m (1 revision) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
* [[Accounts-account-dedicatedServers-server-ipAddresses:GET|GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses]] - Gets a list of a specified dedicated server's IP addresses | * [[Accounts-account-dedicatedServers-server-ipAddresses:GET|GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses]] - Gets a list of a specified dedicated server's IP addresses | ||
* [[Accounts-account-dedicatedServers-server-ipAddresses-ipaddress:GET|GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}]] - Gets a specific IP address of a dedicated server | * [[Accounts-account-dedicatedServers-server-ipAddresses-ipaddress:GET|GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}]] - Gets a specific IP address of a dedicated server | ||
+ | * [[Accounts-account-dedicatedServers-server-services:GET|GET /accounts/{accountId}/dedicatedServers/{serverId}/services]] - Gets a list of a specified dedicated server's components and services | ||
== Dedicated Server Actions == | == Dedicated Server Actions == |
Latest revision as of 13:35, 30 May 2016
Contents |
Dedicated Servers
- GET /accounts/{account_number}/dedicatedServers - Gets a list of dedicated servers
- GET /accounts/{accountId}/dedicatedServers/{serverId} - Gets specified dedicated server info
- GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses - Gets a list of a specified dedicated server's IP addresses
- GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress} - Gets a specific IP address of a dedicated server
- GET /accounts/{accountId}/dedicatedServers/{serverId}/services - Gets a list of a specified dedicated server's components and services
Dedicated Server Actions
- POST /accounts/{account_number}/dedicatedServers/{server_id}/action - Apply actions on a dedicated server e.g. remote reboot
Monitoring Dedicated Servers
Monitoring API - All monitoring operations with dedicated servers and their services
Security Groups
- GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/os-security-groups - Get all security groups, which are assigned to a specific IP address of a dedicated server
- PUT /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/os-security-group - Assign security group to a specific IP address of a dedicated server
- DELETE /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/os-security-groups/{groupId} - Unassign a specific security group from a specific IP of a dedicated server
NAT Rules
- GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/natRules - Get all NAT rules, which are assigned to a specific IP address of a dedicated server
- GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/natRules/{ruleId} - Get a specific NAT rule, which is assigned to a specific IP address of a dedicated server
- POST /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/natRules - Assign NAT rule to a specific IP address of a dedicated server
- PUT /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/natRules/{ruleId} - Update NAT rule for a specific IP address of a dedicated server
- DELETE /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/natRules/{ruleId} - Unassign a specific NAT rule from a specific IP of a dedicated server
Statistics
Traffic
- GET /accounts/{accountId}/dedicatedServers/{serverId}/statistics/traffic - Get traffic statistics by specific time range for a dedicated server
- GET /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/statistics/traffic - Get traffic statistics by specific time range for an IP address of a dedicated server