Files
goodtimes/manage_notifications/api/urls.py
2024-05-08 20:34:52 +05:30

29 lines
773 B
Python

from django.urls import path
from . import views, cron_views
app_name = "manage_notifications_api"
urlpatterns = [
path(
"toggle-notification-setting/",
views.NotificationSettingToggle.as_view(),
name="toggle-notification-setting",
),
path(
"user-notifications/",
views.UserNotificationsAPIView.as_view(),
name="user-notifications",
),
path(
"in-app-notifications/",
views.InAppNotificationListAPIView.as_view(),
name="in_app_notifications",
),
path(
"one-week-alert/",
cron_views.OneWeekSubscriptionAlertView.as_view(),
name="in_app_notifications",
),
path('delete-player-id/', views.DeletePlayerID.as_view(), name='delete_player_id'),
]