summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/src/api/urls.py
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2017-01-05 12:34:37 +0100
committermaxbr <maxbr@mi.fu-berlin.de>2017-01-05 12:34:37 +0100
commit55c3b53ba08b2c6cf3c392b10a065a3076525951 (patch)
tree43ae585550a312c4c91bb002626cec5770556e98 /tools/pharos-dashboard/src/api/urls.py
parent688948508e373829cdcd7bb1e4ebb7f55e43cdac (diff)
Add library for dashboard API
JIRA: PHAROS-265 The DashboardAPI class can be used to query and update dashboard data. Change-Id: I584a3cc500ff1d67011c18af4e73e504126310a2 Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'tools/pharos-dashboard/src/api/urls.py')
-rw-r--r--tools/pharos-dashboard/src/api/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/src/api/urls.py b/tools/pharos-dashboard/src/api/urls.py
index dfbe1ac9..a4a4b2ff 100644
--- a/tools/pharos-dashboard/src/api/urls.py
+++ b/tools/pharos-dashboard/src/api/urls.py
@@ -32,6 +32,7 @@ router = routers.DefaultRouter()
router.register(r'resources', ResourceViewSet)
router.register(r'servers', ServerViewSet)
router.register(r'bookings', BookingViewSet)
+router.register(r'resource_status', ResourceStatusViewSet)
urlpatterns = [
url(r'^', include(router.urls)),