eaa3d11df8
* api: make API urls modular load API urls from app module's urls file instead of a single static file Signed-off-by: Jens Langhammer <jens@goauthentik.io> * refactor websocket url mounting Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
15 lines
675 B
Python
15 lines
675 B
Python
"""API URLs"""
|
|
from authentik.events.api.events import EventViewSet
|
|
from authentik.events.api.notification_mappings import NotificationWebhookMappingViewSet
|
|
from authentik.events.api.notification_rules import NotificationRuleViewSet
|
|
from authentik.events.api.notification_transports import NotificationTransportViewSet
|
|
from authentik.events.api.notifications import NotificationViewSet
|
|
|
|
api_urlpatterns = [
|
|
("events/events", EventViewSet),
|
|
("events/notifications", NotificationViewSet),
|
|
("events/transports", NotificationTransportViewSet),
|
|
("events/rules", NotificationRuleViewSet),
|
|
("propertymappings/notification", NotificationWebhookMappingViewSet),
|
|
]
|