mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
515 B
14 lines
515 B
# -*- coding: utf-8 -*-
|
|
#
|
|
|
|
from django.conf.urls import url, include
|
|
import api
|
|
|
|
urlpatterns = [
|
|
url(r'^v1/users/$', api.UserListAddApi.as_view(), name='user-list-api'),
|
|
url(r'^v1/users/(?P<pk>[0-9]+)/$', api.UserDetailDeleteUpdateApi.as_view(), name='user-detail-api'),
|
|
url(r'^v1/usergroups/$', api.UserGroupListAddApi.as_view(), name='usergroup-list-api'),
|
|
url(r'^v1/usergroups/(?P<pk>[0-9]+)/$', api.UserGroupDetailDeleteUpdateApi.as_view(),
|
|
name='usergroup-detail-api'),
|
|
]
|