jumpserver/apps/common/urls/api_urls.py

18 lines
832 B
Python
Raw Normal View History

2018-01-11 12:10:27 +00:00
from __future__ import absolute_import
2018-07-27 10:56:40 +00:00
from django.urls import path
2018-01-11 12:10:27 +00:00
from .. import api
app_name = 'common'
urlpatterns = [
2018-07-27 10:56:40 +00:00
path('mail/testing/', api.MailTestingAPI.as_view(), name='mail-testing'),
path('ldap/testing/', api.LDAPTestingAPI.as_view(), name='ldap-testing'),
path('terminal/replay-storage/create/', api.ReplayStorageCreateAPI.as_view(), name='replay-storage-create'),
path('terminal/replay-storage/delete/', api.ReplayStorageDeleteAPI.as_view(), name='replay-storage-delete'),
path('terminal/command-storage/create/', api.CommandStorageCreateAPI.as_view(), name='command-storage-create'),
path('terminal/command-storage/delete/', api.CommandStorageDeleteAPI.as_view(), name='command-storage-delete'),
2018-07-27 10:56:40 +00:00
# path('django-settings/', api.DjangoSettingsAPI.as_view(), name='django-settings'),
2018-01-11 12:10:27 +00:00
]