Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

GET /system/servers

 

Retrieves a list of all server hosts in the deployment.

Table 1: GET /system/servers Resource Details

MIME Type

application/json

Table 2: GET /system/servers Request Parameter Details

Parameter

Type

Optionality

Data Type

MIME Type

Description

Range

header

Optional

String

text/plain

Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero.

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.

filter

query

Optional

String

text/plain

Optional - This parameter is used to restrict the elements in a list base on the contents of various fields.

Table 3: GET /system/servers Response Codes

HTTP Response Code

Unique Code

Description

200

 

The requested list of server records was successfully retrieved.

500

1020

An error occurred while trying to retrieve the requested servers.

Response Description

A list of the servers. A server record that contains the following fields:

  • hostname - String - hostname.

  • managed_host_id - Number - ID of the managed host that the server host belongs to

  • private_ip - String - The private IP address of this server.

  • status - String - The status of this server.

Response Sample