diora-web/gpodder/urls.py
marwin 824b77a033
All checks were successful
Build and push Docker image / build (push) Successful in 15s
Test / test (push) Successful in 17s
Add gPodder sync API and bump SW cache to v5
- Implement gPodder API v2 compatible endpoints at /api/2/:
  - Auth: login/logout via HTTP Basic Auth or session
  - Devices: list and register sync devices
  - Subscriptions: get/add/remove per device, delta sync with ?since=
  - Episode actions: upload play/position events, syncs to EpisodeProgress
- Server URL for AntennaPod: https://diora.creamfresh.xyz/api/2/
- Bump SW cache diora-v4 → v5 to force re-fetch of updated app.js

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 06:36:41 +01:00

12 lines
562 B
Python

from django.urls import path
from . import views
urlpatterns = [
path('auth/<str:username>/login.json', views.auth_login),
path('auth/<str:username>/logout.json', views.auth_logout),
path('devices/<str:username>.json', views.devices_list),
path('devices/<str:username>/<str:deviceid>.json', views.device_update),
path('subscriptions/<str:username>.json', views.subscriptions_all),
path('subscriptions/<str:username>/<str:deviceid>.json', views.subscriptions_by_device),
path('episodes/<str:username>.json', views.episode_actions),
]