REST API
4.0.0
REST API for SafeNet Network HSMs
|
Gets information about a network device.
The identifier of a network device.
Use: Required
JSON Schema:
Object type: string
Basic information about the network device.
JSON Schema: Network Device
Unexpected error
Device does not exist.
GET https://1.2.3.4:8443/api/lunasa/network/devices/eth0
{ "routes": "/api/lunasa/network/devices/eth0/routes", "ip4": "/api/lunasa/network/devices/eth0/ip4", "ip6": "/api/lunasa/network/devices/eth0/ip6", "mac": "00:15:b2:a1:ac:28", "type": "ethernet", "name": "eth0" }
GET /api/lunasa/network/devices/{deviceid}/ip4
GET /api/lunasa/network/devices/{deviceid}/ip6
GET /api/lunasa/network/devices/{deviceid}/routes