diff options
author | maxbr <maxbr@mi.fu-berlin.de> | 2017-01-05 12:34:37 +0100 |
---|---|---|
committer | maxbr <maxbr@mi.fu-berlin.de> | 2017-01-05 12:34:37 +0100 |
commit | 0f779323898999cc6269ee2f9183de75e1eedab0 (patch) | |
tree | 8b99d6b287224611886e5b9de1956172f3a3c627 /pharos-dashboard/src/api/urls.py | |
parent | 026ae4994e15809d25bf9f62e36f6fe5b35b1542 (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.py | 1 |
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)), |