Dedicated Server API
From Hostway API Documentation
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