REST API  14
REST API for Luna Network HSMs
GET /api/lunasa/syslog/backups

GET /api/lunasa/syslog/backups

This resource returns the list of stored syslog backups. This resource has been disabled for Rest API version equivalent to or greater than 12.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator
  • monitor

Parameters

None

Responses

200

Success.

Example Request

    GET
    https://1.2.3.4:8443/api/lunasa/syslog/backups
{
}

Example Response

{
    "backups": [
        {"url": "/api/lunasa/syslog/backups/JEF3h8", "id": "JEF3h8"},
        {"url": "/api/lunasa/syslog/backups/Y66Pvs", "id": "Y66Pvs"} 
    ]
}

NOTE : Use this resource to access the file for REST API version greater than or equivalent to 12.

GET /users/{userid}/files/{fileid}