Listing the hosts collection
After logon, you can get a list of all defined hosts with this request:
GET http://localhost:8082/7.2.1/elements/host
This request returns a 200 HTTP response status code and this result:
{
"result":
[
{
"href": "http://localhost:8082/7.2.1/elements/host/40",
"name": "DHCP Broadcast Originator",
"type": "host"
},
{
"href": "http://localhost:8082/7.2.1/elements/host/43",
"name": "IPv6 Unspecified Address",
"type": "host"
},
…
]
}