From 727e4ab31aa6d1a754711d4cd29dbcefae2e952a Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Mon, 21 Mar 2016 20:11:55 +0100 Subject: NMS: NMS Public --- web/nms-public.gathering.org/api/API.rst | 113 +++++++++++++++++++++ .../api/public/dhcp-summary | 21 ++++ web/nms-public.gathering.org/api/public/ping | 37 +++++++ .../api/public/switch-state | 47 +++++++++ web/nms-public.gathering.org/api/public/switches | 35 +++++++ 5 files changed, 253 insertions(+) create mode 100644 web/nms-public.gathering.org/api/API.rst create mode 100755 web/nms-public.gathering.org/api/public/dhcp-summary create mode 100755 web/nms-public.gathering.org/api/public/ping create mode 100755 web/nms-public.gathering.org/api/public/switch-state create mode 100755 web/nms-public.gathering.org/api/public/switches (limited to 'web/nms-public.gathering.org/api') diff --git a/web/nms-public.gathering.org/api/API.rst b/web/nms-public.gathering.org/api/API.rst new file mode 100644 index 0000000..61fbb5a --- /dev/null +++ b/web/nms-public.gathering.org/api/API.rst @@ -0,0 +1,113 @@ +API-dok +======= + +Work in progress. + +There are two relevant paths: /api/public and /api/private. One requires +user-login in, the other does not. + +General: All end-points that output time-based data accept the "now=