List scanned IP addresses. To use a network's IP range and a page to get a list of IP addresses:
- http(s)://{server hostname}/api/ipam/network/{id}/address/{page}
To use a custom range to get a list of IP addresses (where range is "ipAddress-ipAddress"):
- http(s)://{server hostname}/api/ipam/address/{address}
- http(s)://{server hostname}/api/ipam/address/{address}?zoneId=#
Methods summary
- GET Method - lists scanned IP addresses.
GET Method detail
Lists scanned IP addresses.
Response:
Name | Description |
---|---|
zoneId |
ID of the zone, if used. |
comments | any comments added to this IP address by the user. |
hostname |
hostname, if applicable. |
active | if the device has responded to a scan recently. |
lastScan | last time the device was scanned. |
lastActive | last time the device was successfully scanned. |
history | number of history entries |
ipv4 | if the IP address is IPv4, either 'true' or 'false'. |
ipAddress | IP address. |
Example:
INPUT
curl -u admin:admin https://localhost/api/ipam/network/1/address/0?media=json
OUTPUT
[ {
"zoneId" : 0,
"comments" : null,
"hostname" : null,
"active" : true,
"lastScan" : 1680520203,
"lastActive" : 1680520203,
"history" : null,
"ipv4" : true,
"ipAddress" : "10.44.2.33"
}, {
...
}, {
"zoneID" : 0,
"comments" : null,
"hostname" : "test.entuity.local",
"active" : true,
"lastScan" : 1680520208,
"lastActive" : 1680520208,
"history" : null,
"ipv4" : true,
"ipAddress" : "10.44.2.195"
} ]
Comments
0 comments
Please sign in to leave a comment.