REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/objects

GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/objects

Gets all objects in the partition.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

partitionid

The identifier of the partition of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

A list of all objects and the url to the list of actions in the partition. The list includes unique identifiers that can be used to get more specific information.

JSON Schema: Partition Objects

400

Unexpected error

404

HSM or partition does not exist.

Example Request

   GET 
   https://1.2.3.4:8443//api/lunasa/hsms/117290/partitions/273087011507/objects

Example Result

{
    "objects": [
        {
            "id": "19",
            "label": "RecoveryInit RSA Public Key",
            "url": "/api/lunasa/hsms/151256/partitions/352170252337/objects/19"
        },
        {
            "id": "30",
            "label": "RecoveryInit RSA Private Key",
            "url": "/api/lunasa/hsms/151256/partitions/352170252337/objects/30"
        }
    ],
    "actions": "/api/lunasa/hsms/151256/partitions/352170252337/objects/actions"
}

See Also

GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/objects/{objectid}
GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/objects/actions