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

GET /api/lunasa/hsms/{hsmid}/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/peds/0

Example Result

Local PED:

{
   "pedId": 0, "ipAddress": "null", "port": 0, "isConnected": true
}



Remote PED:

{
   "pedId": 3, "ipAddress": "1.2.3.8", "port": 1503, "isConnected": true
}



Password-based HSM:

{}