REST API  16
REST API for Luna Network HSMs
GET /api/lunasa/ntp/servers/{serverid}

GET /api/lunasa/ntp/servers/{serverid}

This resource contains information about a specific server.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator
  • monitor

Parameters

serverid

Specifies the id of the NTP server.

Use: Required

JSON Schema:

    Object
    type:string
    minLength: 1
    maxLength: 128
    pattern: ^([a-zA-Z0-9\\-\\.\\[\\]_:]*)$

Responses

200

NTP server information

JSON Schema: NTP Server

404

NTP_SERVER_DOES_NOT_EXIST

Specified server does not exist.

500

NTP_OPERATION_FAILED

Unable to perform requested operation.

Example Request

    GET
    https://1.2.3.4:8443/api/lunasa/ntp/servers/example.com
{
}

Example Response

{
    "address": "example.com",
    "nts": false, 
    "keyId": null, 
    "isInitialBurstEnabled": true, 
    "isBurstEnabled": false, 
    "isPreferredServer": true, 
    "protocolVersion": 3,
   "port": 4420
}

See Also

GET /api/lunasa/ntp/servers