![]() |
REST API
4.0.0
REST API for SafeNet Network HSMs
|
Gets a list of objects on the small form factor backup device.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
The identifier of the partition of interest
Use: Required
JSON Schema:
Object type: string
The objects on the small form factor backup device.
JSON Schema: SFF Objects
JSON Schema:
id: Object
type: string
"Location" is the URL to the task spawned to get the list of objects on the SFF backup device.
Unexpected error
HSM or partition does not exist.
GET https://1.2.3.4:8443/api/lunasa/hsms/117290/partitions/273087011507/sff/objects
<code>
\verbatim
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/8', 'Content-Length': '712', 'Access-Control-Allow-Credentials': 'true'}
{}
In this example, do GET on '/tasks/8/response' to get the results of the task:
{
{
"id": "1",
"label": "Created data object",
"url": "/api/lunasa/hsms/117290/partitions/273087011507/sff/objects/1"
},
{
"id": "2",
"label": "Created data object",
"url": "/api/lunasa/hsms/117290/partitions/273087011507/sff/objects/2"
},
{
"id": "3",
"label": "Created data object",
"url": "/api/lunasa/hsms/117290/partitions/273087011507/sff/objects/3"
}
}