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

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

Gets the information associated with a specific 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

PED information

JSON Schema: PED description

400

Unexpected error

404

HSM or PED does not exist.

Example Request

   GET
   https://1.2.3.4:8443/api/lunasa/hsms/154704/ped/peds/0

Example Result

Local PED:

{
    "pedId": 0,
    "ipAddress": null,
    "port": 0,
    "isConnected": true,
    "server": null,
    "actions": "/api/lunasa/hsms/154704/ped/peds/0/actions"
}



Remote PED:

{
    "pedId": 3,
    "ipAddress": "1.2.3.8",
    "port": 1503,
    "isConnected": true,
    "server": null,
    "actions": "/api/lunasa/hsms/154704/ped/peds/3/actions"
}



Password-based HSM:

{}