ON THIS PAGE
GET /system/servers/{server_id}
SUMMARY Retrieves a server host based on the supplied server ID.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
server_id |
path |
Required |
Number (Integer) |
text/plain |
Required - The ID of the server. |
fields |
query |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The requested server record was retrieved. |
|
404 |
1002 |
The requested server record with the given server ID cannot be found. |
422 |
1005 |
One or more parameters are invalid in request. |
500 |
1020 |
An error occurred while trying to retrieve the requested server host with the given Id. |
Response Description
- email_server_address - String - email server address.
- hostname - String - hostname.
- managed_host_id - Number - Id of the managed host the server host belongs to
- private_ip - String - The private IP address of this server.
- status - String - The status of this server.
Response Sample
{ "email_server_address": "String", "hostname": "String", "managed_host_id": 42, "private_ip": "String", "server_id": 42, "status": "String" }