REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/network/devices/{deviceid}

GET /api/lunasa/network/devices/{deviceid}

Gets information about a network device.

Parameters

deviceid

The identifier of a network device.

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

Basic information about the network device.

JSON Schema: Network Device

400

Unexpected error

404

Device does not exist.

Example Request

    GET 
    https://1.2.3.4:8443/api/lunasa/network/devices/eth0

Example Result

{
    "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"
}

See Also

GET /api/lunasa/network/devices/{deviceid}/ip4
GET /api/lunasa/network/devices/{deviceid}/ip6
GET /api/lunasa/network/devices/{deviceid}/routes