diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2018-02-16 15:50:22 -0500 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2018-02-16 15:50:22 -0500 |
commit | 86cfa9015a8e09544bc7b1547ec329a567f4c66d (patch) | |
tree | 9cb4ca00753422a80456ad8e399d8a5162be0ca7 /src/api/urls.py | |
parent | 2ca824214d135838a6258a02be5dd9b0037aa42f (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 'src/api/urls.py')
-rw-r--r-- | src/api/urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/urls.py b/src/api/urls.py index 71cd3ef..c2cd510 100644 --- a/src/api/urls.py +++ b/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)), |