REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/hsms/{hsmid}/firmware/actions

GET /api/lunasa/hsms/{hsmid}/firmware/actions

Gets all firmware-related actions associated with the HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

The set of all firmware actions associated with the HSM.

JSON Schema: Firmware Actions

400

Unexpected error

404

HSM does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/firmware/actions

Example Result

{
    "actions": [
        {
            "id": "upgrade",
            "url": "/api/lunasa/hsms/117290/firmware/actions/upgrade"
        },
        {
            "id": "rollback",
            "url": "/api/lunasa/hsms/117290/firmware/actions/rollback"
        }
    ]
}