hello,
Overview
Error Handling
Error Handling
Methods
- Account/Auth/
- Account/SSH/Key/
- Billing/Invoice/
- Billing/Payment/
- Cloud/Backup/
- Cloud/Config/
- Cloud/IP/Pool/
- Cloud/Image/
- Cloud/Server/
- Cloud/Template/
- Monitoring/Bandwidth/
- Monitoring/Load/
- Monitoring/Services/
- Network/DNS/Domain/
- Network/DNS/Record/
- Network/DNS/Reverse/
- Network/DNS/Zone/
- Network/Firewall/
- Network/Firewall/Ruleset/
- Network/IP/
- Network/LoadBalancer/
- Network/Pool/
- Network/Private/
- Network/Region/
- Network/Zone/
- Notifications/
- Order/AddOn/
- Product/
- Server/
- Server/VirtualDomain/
- Storage/Block/Cluster/
- Storage/Block/Volume/
- Support/Alert/
- Utilities/Info/
- VIP/
- VPN/
API Documentation (API Version v1)
Network/Region/
DESCRIPTION
Through these api methods, you can lookup network regions.
details
URL:
https://api.liquidweb.com/v1/Network/Region/details
Description:
Returns a single region
Parameters:
Parameter | Type | Notes |
---|---|---|
id | A positive integer value (i.e. 1 and up). | * Required |
Returns:
Field | Type |
---|---|
asn | A positive integer value (i.e. 1 and up). |
host_prefix | A single word, consisting of only letters and digits. (Maximum length: 3) |
id | A positive integer value (i.e. 1 and up). |
name | A string permitting tabs, carriage returns and newlines (Maximum length: 100) |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
list
URL:
https://api.liquidweb.com/v1/Network/Region/list
Description:
Returns a list of regions.
Parameters:
Parameter | Type | Notes | ||||||
---|---|---|---|---|---|---|---|---|
alsowith | A single word, consisting of only letters, digits, and underscores. | |||||||
order_by | An associative array containing the fields: | |||||||
| ||||||||
page_num | A positive integer value (i.e. 1 and up). | * Optional
| ||||||
page_size | A positive integer value (i.e. 1 and up). | * Optional
|
Returns:
Field | Type | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
item_count | A non-negative integer value (i.e. 0 and up). | |||||||||
item_total | A non-negative integer value (i.e. 0 and up). | |||||||||
items | An array of associative arrays containing | |||||||||
| ||||||||||
page_num | A positive integer value (i.e. 1 and up). | |||||||||
page_size | A positive integer value (i.e. 1 and up). | |||||||||
page_total | A positive integer value (i.e. 1 and up). |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types