REST API  14
REST API for Luna Network HSMs
GET /api/lunasa/services

GET /api/lunasa/services

Gets all services associated with the appliance.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator
  • monitor

Parameters

None

Responses

200

A list of all services associated with the appliance. Specifically, the list is unique identifiers.

JSON Schema: services

400

APPLIANCE_FAILED_TO_GET_SERVICE_LIST

Unexpected error

Example Request

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

Example Result

{
    "services": [
        {
            "id": "clusteradmin",
            "url": "/api/lunasa/services/clusteradmin"
        },
        {
            "id": "sysstat",
            "url": "/api/lunasa/services/sysstat"
        },
        {
            "id": "syslog",
            "url": "/api/lunasa/services/syslog"
        },
        {
            "id": "ntp",
            "url": "/api/lunasa/services/ntp"
        },
        {
            "id": "snmp",
            "url": "/api/lunasa/services/snmp"
        },
        {
            "id": "cbs",
            "url": "/api/lunasa/services/cbs"
        },
        {
            "id": "lsta",
            "url": "/api/lunasa/services/lsta"
        },
        {
            "id": "ctc",
            "url": "/api/lunasa/services/ctc"
        },
        {
            "id": "ismigration",
            "url": "/api/lunasa/services/ismigration"
        },
        {
            "id": "webserver",
            "url": "/api/lunasa/services/webserver"
        },
        {
            "id": "cluster",
            "url": "/api/lunasa/services/cluster"
        },
        {
            "id": "ntls",
            "url": "/api/lunasa/services/ntls"
        },
        {
            "id": "stc",
            "url": "/api/lunasa/services/stc"
        },
        {
            "id": "ssh",
            "url": "/api/lunasa/services/ssh"
        },
        {
            "id": "network",
            "url": "/api/lunasa/services/network"
        }
    ]
}