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

GET /api/lunasa/network/devices

Gets all network devices.

Parameters

None

Responses

200

A list of all network devices on the appliance.

JSON Schema: Network Devices

400

Unexpected error

Example Request

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

Example Result

{
    "devices": [
        {
            "id": "lo",
            "type" : "ethernet",
            "url": "/api/lunasa/network/devices/lo
        },
        {
            "id": "eth0",
            "type": "ethernet",
            "url": "/api/lunasa/network/devices/eth0"
        },
        {
            "id": "eth1",
            "type" : "ethernet",
            "url": "/api/lunasa/network/devices/eth1"
        },
        {
            "id": "bond0",
            "type" : "ethernet",
            "url": "/api/lunasa/network/devices/bond0"
        }
    ]
}

See Also

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