GET /qni/stacking/standalone_hosts

Retrieves a list of all standalone QNI hosts that can be added to a stack. (Not all QNI appliance types are stackable.)

Retrieves a list of all standalone QNI hosts that can be added to a stack. (Not all QNI appliance types are stackable.)

Table 1. GET /qni/stacking/standalone_hosts resource details
MIME Type

application/json

Table 2. GET /qni/stacking/standalone_hosts request parameter details
Parameter Type Optionality Data Type MIME Type Description

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.

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.

Table 3. GET /qni/stacking/standalone_hosts response codes
HTTP Response Code Unique Code Description

200

The list of QNI hosts was successfully retrieved.

404

1002

No standalone QNI hosts were found.

500

1020

An error occurred attempting to retrieve data for the QNI hosts.

Response Description

A list of QNI hosts. The host contains the following fields:
  • host_id - Long - The ID of the QNI host.
  • host_ip - List<Host> - The IP address of the QNI host.
  • primary - Boolean - A flag that indicates that the QNI host is the primary host. The flag is always false for standalone hosts.

Response Sample


[
    {
        "host_id": 42,
        "host_ip": "String",
        "primary": true
    }
]