REST API  14
REST API for Luna Network HSMs
GET /api/lunasa/hsms/{hsmid}/metrics/actions

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

Gets all actions that an administrator can perform on the utlization metrics of the HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

A list of all actions associated with the utilization metrics of the HSM. The list includes unique identifiers that can be used to perform the specific action with a POST.

JSON Schema: HSM Metrics Actions

400

Unexpected error

404

HSM does not exist.

Example Request

   GET
   https://1.2.3.4:8443/api/lunasa/hsms/117290/metrics/actions

Example Result

{
    "actions": [
        {
            "id": "reset",
            "url": "/api/lunasa/hsms/117290/metrics/actions/reset"
        }
    ]
}

See Also

POST /api/lunasa/hsms/{hsmid}/metrics/actions/{actionid}