From 2e808e318a7b9abd09bf93116dae5368025c3611 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Fri, 4 Mar 2016 18:00:47 +0000 Subject: nms: Split pub/switches in two Makes authentication simpler. --- web/nms.gathering.org/api/API.rst | 49 +++++++++++++--------- .../api/private/switches-management | 34 +++++++++++++++ web/nms.gathering.org/api/public/switches | 13 +----- 3 files changed, 65 insertions(+), 31 deletions(-) create mode 100755 web/nms.gathering.org/api/private/switches-management (limited to 'web') diff --git a/web/nms.gathering.org/api/API.rst b/web/nms.gathering.org/api/API.rst index b56db64..5876302 100644 --- a/web/nms.gathering.org/api/API.rst +++ b/web/nms.gathering.org/api/API.rst @@ -3,10 +3,13 @@ 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=