summaryrefslogtreecommitdiffstats
path: root/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
commit0f779323898999cc6269ee2f9183de75e1eedab0 (patch)
tree8b99d6b287224611886e5b9de1956172f3a3c627 /pharos-dashboard/src/api/urls.py
parent026ae4994e15809d25bf9f62e36f6fe5b35b1542 (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 'pharos-dashboard/src/api/urls.py')
-rw-r--r--pharos-dashboard/src/api/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pharos-dashboard/src/api/urls.py b/pharos-dashboard/src/api/urls.py
index dfbe1ac..a4a4b2f 100644
--- a/pharos-dashboard/src/api/urls.py
+++ b/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)),