REST API  14
REST API for Luna Network HSMs
GET /api/lunasa/network/devices/{deviceid}/actions

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

Gets all bond device actions. The actions available are "enable" and "disable".

Parameters

deviceid

Specifies the id of the device.The deviceid can be the bond device created on the appliance, i.e. bond0 , bond1.

Use: Required

JSON Schema:

    Object
    type:string

Responses

200

A list of all bond device actions that can be performed under the network.

JSON Schema: Network Device Actions

400

Invalid device type or unexpected error

404

Invalid device

Example Request

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

Example Result

{
    "actions": [
        {
            "id": "disable",
            "url": "/api/lunasa/network/devices/bond1/actions/disable"
        },
        {
            "id": "enable",
            "url": "/api/lunasa/network/devices/bond1/actions/enable"
        }
    ]
}