• Time configuration
    • path: /time
    • method: GET for reading, PUT for editing
    • data
      • format: json
      • fields:
        • time: unsigned integer (epoch), e.g.: 1344175072 (read/write)
        • timezone_id: timezone ID or null (UTC), timezones.html (read/write)
        • ntp_enabled: boolean, tells if NTP is enabled (default: true) (read-write)
        • ntp_servers: array of hostnames (read-write) (default: ["ubuntu.pool.ntp.org"]), constraints: hostname_constraint, ntp_server_count_constraint
    • Example:

      {
      "time": 1516176510,
      "timezone_id": "Europe/Amsterdam",
      "ntp_enabled": false,
      "ntp_servers": ["0.nl.pool.ntp.org", "1.nl.pool.ntp.org"]
      }

      Back to Index