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

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

Gets all actions applicable to an object.

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

objectid

The identifier of the object of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

The set of all actions applicable to objects.

JSON Schema: Partition Objects Actions

400

Unexpected error

404

HSM or partition does not exist.

Example Request

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

Example Result

{
    {
        "id": "backup",
        "url": "/api/lunasa/hsms/154704/partitions/273087011507/objects/actions/backup"
    },
    {
        "id": "restore",
        "url": "/api/lunasa/hsms/154704/partitions/273087011507/objects/actions/restore"
    }
}