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

GET /api/lunasa/hsms/{hsmid}/ped/servers

Gets all PED servers associated with 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 PED servers associated with the HSM. The list includes unique identifiers that can be used to get more specific information.

JSON Schema: PED Servers

400

Unexpected error

404

HSM does not exist.

Example Request

   GET
   https://1.2.3.4:8443/api/lunasa/hsms/151256/ped/servers

Example Result

{
    "servers": [
        {
            "id": "TestPedServer",
            "url": "/api/lunasa/hsms/151256/ped/servers/TestPedServer"
        },
        {
            "id": "TestPedServer2",
            "url": "/api/lunasa/hsms/151256/ped/servers/TestPedServer2"
        }
    ]
}

See Also

GET /api/lunasa/hsms/{hsmid}/ped/servers/{serverid}