GET /api/topology/hosts
Description
Get all hosts in the topology.
Resource URL
https://localhost:8090/api/topology/hosts
Parameters
Response Codes
| Response Code | Description |
|---|---|
| 200 | Success. The response body contains a list of hosts. Refer to Javadoc for com.vordel.api.topology.model.Host. |
Example Request and Response
GET http://localhost:8090/api/topology/hosts
HTTP 1.1 200 OK
{
"result": [
{
"id": "host-1",
"name": "host.com"
}
]
}