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

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

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

Partition details

JSON Schema: Partition description

400

Unexpected error

404

HSM or partition does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/partitions/273087011389

Example Result

{
    "loggedIn": "nobody",
    "capabilities": "/api/lunasa/hsms/117290/partitions/273087011389/capabilities",
    "label": "ABC123",
    "name": "ABC123",
    "objectCount": 0,
    "objects": "/api/lunasa/hsms/117290/partitions/273087011389/objects",
    "policies": "/api/lunasa/hsms/117290/partitions/273087011389/policies",
    "roles": "/api/lunasa/hsms/117290/partitions/273087011389/roles",
    "state": "initialized",
    "stc": "/api/lunasa/hsms/117290/partitions/273087011389/stc",
    "storageSpace": {
        "free": 20480,
        "total": 20480,
        "used": 0
    }
}