20 lines
658 B
Python
20 lines
658 B
Python
"""
|
|
Core API URLs.
|
|
"""
|
|
|
|
from django.urls import path, include
|
|
from rest_framework.routers import DefaultRouter
|
|
from . import views
|
|
|
|
router = DefaultRouter()
|
|
router.register(r'tenants', views.TenantViewSet, basename='tenant')
|
|
router.register(r'audit-logs', views.AuditLogEntryViewSet, basename='auditlogentry')
|
|
router.register(r'configurations', views.SystemConfigurationViewSet, basename='systemconfiguration')
|
|
router.register(r'notifications', views.SystemNotificationViewSet, basename='systemnotification')
|
|
router.register(r'integration-logs', views.IntegrationLogViewSet, basename='integrationlog')
|
|
|
|
urlpatterns = [
|
|
path('', include(router.urls)),
|
|
]
|
|
|