summaryrefslogtreecommitdiffstats
path: root/dashboard/src/api/urls.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2018-02-16 15:50:22 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2018-02-16 15:50:22 -0500
commit3979c0cc8fc863b1661353e96e17ffa166abfa96 (patch)
treed68e8231d67f086724ef3a3617252048f7c91c84 /dashboard/src/api/urls.py
parent7734f7abbf16bc2b86c93d4b8cc510b1d86862c4 (diff)
Expose Limited User Info Through API
Jira: PHAROS-362 Exposes info such as username and user email throught the API to facilitate better backend integration Change-Id: I8948f399000ffe41d5b75941f4a4195caaea91f4 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'dashboard/src/api/urls.py')
-rw-r--r--dashboard/src/api/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard/src/api/urls.py b/dashboard/src/api/urls.py
index 71cd3ef..c2cd510 100644
--- a/dashboard/src/api/urls.py
+++ b/dashboard/src/api/urls.py
@@ -34,6 +34,7 @@ router.register(r'servers', ServerViewSet)
router.register(r'bookings', BookingViewSet)
router.register(r'resource_status', ResourceStatusViewSet)
router.register(r'notifier', NotifierViewSet)
+router.register(r'user', UserViewSet)
urlpatterns = [
url(r'^', include(router.urls)),