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

GET /api/lunasa/hsms/{hsmid}/peds/{pedid}/actions

Gets a list of actions permitted on a PED.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

pedid

The identifier of the PED of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

The set of all actions that can be performed on a PED.

See PED Actions

400

Unexpected error

404

HSM or PED does not exist.

Example Requests

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/151256/peds/0/actions

Example Result

{
    "actions": [
        {
            "id": "connect",
            "url": "/api/lunasa/hsms/151256/peds/0/actions/connect"
        },
        {
            "id": "disconnect",
            "url": "/api/lunasa/hsms/151256/peds/0/actions/disconnect"
        },
        {
            "id": "vectorInitialize",
            "url": "/api/lunasa/hsms/151256/peds/0/actions/vectorInitialize"
        },
        {
            "id": "vectorErase",
            "url": "/api/lunasa/hsms/151256/peds/0/actions/vectorErase"
        }
    ]
}