![]() |
REST API
17
REST API for Luna Network HSMs
|
Sends the specified firmware action to the HSM.
The serial number of the HSM of interest.
Use: Required
JSON Schema:
Object type: integer format: int64 minimum: 1 maximum: 9999999999
The identifier of the action to be performed.
Use: Required
JSON Schema:
Object type: string minLength: 1 maxLength: 32 pattern: ^[a-zA-Z0-9_.-]*$
Success
JSON Schema:
id: Object
type: string
"Location" is the URL to the task spawned to perform the firmware action.
Returned when the input data does not conform to the required validation schema.
Critical Operation currently in Progress.
HSM or action does not exist.
POST https://1.2.3.4:8443/api/lunasa/hsms/154704/firmware/actions/upgrade
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/0', 'Content-Length': '712', 'Access-Control-Allow-Credentials': 'true'}
{
}