Skip to content

System GET

The Man edited this page Jan 23, 2022 · 5 revisions

Get System

Gets various information about the system.

URL : /api/system/
Method : GET
Auth required : NO

Success Response

Code : 200 OK

Content example

{
  "buildTime": "Dec 31 2021 15:56:25",
  "uptime": "432",
  "ntpSource": "ch.ntp.pool.org",
  "utcOffset": 3600
}

Notes

  • buildTime is dictated by __TIME__ and __DATE__.
  • uptime is calculated based on the epoch difference between now and the time the system booted.
    This time is in seconds.
Clone this wiki locally