diff options
author | Magnus Kirø <magnuskiro@gmail.com> | 2016-03-23 12:44:26 +0100 |
---|---|---|
committer | Magnus Kirø <magnuskiro@gmail.com> | 2016-03-23 12:44:26 +0100 |
commit | c96b6ff54b3d1df27b31803262688ca6b35ab003 (patch) | |
tree | f8d63e8ce5908dd746010bf5a108d6721c2496db | |
parent | 61ed67ecbdac118b96896901f2815f2fd9c62380 (diff) |
Public api doc updated. Still work in progress.
-rw-r--r-- | web/nms.gathering.org/api/API.rst | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/web/nms.gathering.org/api/API.rst b/web/nms.gathering.org/api/API.rst index 8fcb657..7d5c88b 100644 --- a/web/nms.gathering.org/api/API.rst +++ b/web/nms.gathering.org/api/API.rst @@ -22,7 +22,23 @@ as time permits and API's stabilize. Public ...... -Use URL https://nms-public.tg16.gathering.org +Use URL https://nms-public.tg16.gathering.org/api/public + +/api/public/dhcp +---------------- + +Methods: GET +Update frequency: every second or so. + +Used to report time since last dhcp lease. + +/api/public/dhcp-summary +------------------------ + +Methods: GET +Update frequency: every second or so. + +Used to report dhcp lease stats. Both recent stats, and total stats. /api/public/ping ---------------- |