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 | 55c3b53ba08b2c6cf3c392b10a065a3076525951 (patch) | |
tree | 43ae585550a312c4c91bb002626cec5770556e98 /tools/pharos-dashboard/src/api/urls.py | |
parent | 688948508e373829cdcd7bb1e4ebb7f55e43cdac (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.py | 1 |
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)), |