GET /qni/stacking/standalone_hosts
Retrieve list of all QNI hosts not in stacks.
Retrieve list of all QNI hosts not in stacks.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
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. |
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 |
QNI hosts were successfully retrieved. |
|
404 |
1002 |
No standalone QNI hosts found. |
500 |
1020 |
An error occurred attempting to retrieve data for QNI hosts. |
Response Description
- host_id - Long - ID of the QNI host.
- host_ip - List<Host> - IP address of the QNI host.
- primary - Boolean - Flag indicating QNI host as Stack primary (always false for standalone hosts).
Response Sample
[
{
"host_id": 42,
"host_ip": "String",
"primary": true
}
]