From aafd5a80db7b5ee27d1c432a4db93da48fbecb8a Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Fri, 4 Mar 2016 17:47:56 +0000 Subject: nms: Rename API end points and separate public/private --- web/nms.gathering.org/api/API.rst | 90 ++++++++++++++++++++++++ web/nms.gathering.org/api/private/comment-add | 20 ++++++ web/nms.gathering.org/api/private/comment-change | 20 ++++++ web/nms.gathering.org/api/private/comments | 15 ++++ web/nms.gathering.org/api/private/port-state | 31 ++++++++ web/nms.gathering.org/api/private/switch-add | 44 ++++++++++++ web/nms.gathering.org/api/public/ping | 25 +++++++ web/nms.gathering.org/api/public/switch-state | 44 ++++++++++++ web/nms.gathering.org/api/public/switches | 47 +++++++++++++ 9 files changed, 336 insertions(+) create mode 100644 web/nms.gathering.org/api/API.rst create mode 100755 web/nms.gathering.org/api/private/comment-add create mode 100755 web/nms.gathering.org/api/private/comment-change create mode 100755 web/nms.gathering.org/api/private/comments create mode 100755 web/nms.gathering.org/api/private/port-state create mode 100755 web/nms.gathering.org/api/private/switch-add create mode 100755 web/nms.gathering.org/api/public/ping create mode 100755 web/nms.gathering.org/api/public/switch-state create mode 100755 web/nms.gathering.org/api/public/switches (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 new file mode 100644 index 0000000..b56db64 --- /dev/null +++ b/web/nms.gathering.org/api/API.rst @@ -0,0 +1,90 @@ +API-dok +======= + +Work in progress. + +General: All end-points that output time-based data accept the "now=