Dispatcharr/apps/timeshift/api_urls.py
SergeantPanda 223dff33ed feat(timeshift): add catch-up playback, stats, and admin APIs
Add end-to-end catch-up support for XC clients and native apps: provider
proxy with failover and per-viewer session pooling, REST session minting
for tokenless playback URLs, catch-up admin stats, combined connection
stats, and Stats UI with dedicated cards plus websocket updates.

Includes Redis namespace consolidation under timeshift:* (dropping legacy
timeshift_ id prefixes), dedicated catch-up stop by session_id, and
cleaner channel/client metadata split for stats keys.

Closes #133
2026-07-11 17:14:31 +00:00

18 lines
382 B
Python

from django.urls import path
from . import api_views
app_name = "catchup"
urlpatterns = [
path(
"sessions/",
api_views.CatchupSessionCreateAPIView.as_view(),
name="catchup-session-create",
),
path(
"sessions/<str:session_id>/",
api_views.CatchupSessionDestroyAPIView.as_view(),
name="catchup-session-destroy",
),
]