34 lines
671 B
Python
Raw Permalink Normal View History

"""all api urls"""
2024-07-22 22:37:49 +02:00
from common import views
from django.urls import path
urlpatterns = [
2023-03-20 15:23:30 +07:00
path("ping/", views.PingView.as_view(), name="ping"),
2022-12-11 17:13:07 +07:00
path(
"refresh/",
2023-03-20 15:23:30 +07:00
views.RefreshView.as_view(),
2022-12-11 17:13:07 +07:00
name="api-refresh",
),
2022-12-23 20:39:14 +07:00
path(
"watched/",
2023-03-20 15:23:30 +07:00
views.WatchedView.as_view(),
2022-12-23 20:39:14 +07:00
name="api-watched",
),
path(
"search/",
2023-03-20 15:23:30 +07:00
views.SearchView.as_view(),
name="api-search",
),
2023-03-14 15:00:39 +07:00
path(
"notification/",
2023-03-20 15:23:30 +07:00
views.NotificationView.as_view(),
2023-03-14 15:00:39 +07:00
name="api-notification",
),
2025-03-11 22:10:17 +07:00
path(
"health/",
views.HealthCheck.as_view(),
name="api-health",
),
]