From c96b6ff54b3d1df27b31803262688ca6b35ab003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Kir=C3=B8?= Date: Wed, 23 Mar 2016 12:44:26 +0100 Subject: Public api doc updated. Still work in progress. --- web/nms.gathering.org/api/API.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'web/nms.gathering.org/api') 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 ---------------- -- cgit v1.2.3