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'),
|
2020-03-12 08:24:38 +00:00
|
|
|
path('ldap/testing/config/', api.LDAPTestingConfigAPI.as_view(), name='ldap-testing-config'),
|
|
|
|
path('ldap/testing/login/', api.LDAPTestingLoginAPI.as_view(), name='ldap-testing-login'),
|
2019-03-28 04:50:04 +00:00
|
|
|
path('ldap/users/', api.LDAPUserListApi.as_view(), name='ldap-user-list'),
|
2019-11-11 08:41:32 +00:00
|
|
|
path('ldap/users/import/', api.LDAPUserImportAPI.as_view(), name='ldap-user-import'),
|
|
|
|
path('ldap/cache/refresh/', api.LDAPCacheRefreshAPI.as_view(), name='ldap-cache-refresh'),
|
2021-03-24 11:01:35 +00:00
|
|
|
path('wecom/testing/', api.WeComTestingAPI.as_view(), name='wecom-testing'),
|
|
|
|
path('dingtalk/testing/', api.DingTalkTestingAPI.as_view(), name='dingtalk-testing'),
|
2021-08-12 08:44:06 +00:00
|
|
|
path('feishu/testing/', api.FeiShuTestingAPI.as_view(), name='feishu-testing'),
|
2022-08-09 08:09:20 +00:00
|
|
|
path('sms/<str:backend>/testing/', api.SMSTestingAPI.as_view(), name='sms-testing'),
|
2021-08-24 06:20:54 +00:00
|
|
|
path('sms/backend/', api.SMSBackendAPI.as_view(), name='sms-backend'),
|
2023-07-31 09:39:30 +00:00
|
|
|
path('vault/testing/', api.VaultTestingAPI.as_view(), name='vault-testing'),
|
|
|
|
path('vault/sync/', api.VaultSyncDataAPI.as_view(), name='vault-sync'),
|
2019-12-05 07:09:25 +00:00
|
|
|
|
2020-04-29 09:04:48 +00:00
|
|
|
path('setting/', api.SettingsApi.as_view(), name='settings-setting'),
|
2023-07-14 08:54:42 +00:00
|
|
|
path('logo/', api.SettingsLogoApi.as_view(), name='settings-logo'),
|
2019-11-06 03:57:00 +00:00
|
|
|
path('public/', api.PublicSettingApi.as_view(), name='public-setting'),
|
2022-05-06 08:27:14 +00:00
|
|
|
path('public/open/', api.OpenPublicSettingApi.as_view(), name='open-public-setting'),
|
2023-07-28 02:40:48 +00:00
|
|
|
path('server-info/', api.ServerInfoApi.as_view(), name='server-info'),
|
2018-01-11 12:10:27 +00:00
|
|
|
]
|