aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/urls.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-03-25 19:21:04 +0000
committerSawyer Bergeron <sbergeron@iol.unh.edu>2020-04-14 18:10:14 +0000
commit557659acfd97ddaacdb89192ff6a575691b39093 (patch)
treefa261e530212e096536de439b623d9a3cf3a354a /src/api/urls.py
parent45044bdab74c969a9ca4b712625e0c3175b16787 (diff)
Add user + user list to API
Change-Id: I15cf0c33b9d452fda47f97e3d9b43e00c1bf9bfd Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/api/urls.py')
-rw-r--r--src/api/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/urls.py b/src/api/urls.py
index 39f07df..0005d34 100644
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -42,6 +42,8 @@ from api.views import (
lab_host,
get_pdf,
get_idf,
+ lab_users,
+ lab_user,
GenerateTokenView
)
@@ -59,5 +61,7 @@ urlpatterns = [
path('labs/<slug:lab_name>/jobs/new', new_jobs),
path('labs/<slug:lab_name>/jobs/current', current_jobs),
path('labs/<slug:lab_name>/jobs/done', done_jobs),
+ path('labs/<slug:lab_name>/users', lab_users),
+ path('labs/<slug:lab_name>/users/<int:user_id>', lab_user),
url(r'^token$', GenerateTokenView.as_view(), name='generate_token'),
]