diora-web/gpodder/urls.py

13 lines
562 B
Python
Raw Normal View History

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),
]