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

GET /api/lunasa/hsms/{hsmid}/counter

Gets all counter information 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 counters associated with the appliance.

JSON Schema: Counter

400

Unexpected error

404

HSM does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/counter

Example Result

{
    "criticalEvents": 0,
    "cryptoOperationErrors": 0,
    "cryptoOperationRequests": 73,
    "actions": "/api/lunasa/hsms/154704/counter/actions",
    "nonCriticalEvents": 1589,
    "operationErrors": 0,
    "operationRequests": 3591
}

See Also

GET /api/lunasa/hsms/{hsmid}/counter/actions
DELETE /api/lunasa/hsms/{hsmid}/counter