REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/services/{serviceid}/actions

GET /api/lunasa/services/{serviceid}/actions

Gets all actions associated with the service.

Parameters

serviceid

The identifier of the service of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

The set of all actions associated with the service.

JSON Schema: Service Actions

400

Unexpected error

404

Service does not exist

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/services/stc/actions

Example Result

{
    "actions": [
        {
            "id": "start",
            "url": "/api/lunasa/lunasa/services/stc/actions/start"
        },
        {
            "id": "stop",
            "url": "/api/lunasa/lunasa/services/stc/actions/stop"
        },
        {
            "id": "restart",
            "url": "/api/lunasa/lunasa/services/stc/actions/restart"
        }
    ]
}