furry/mobile/urls.py

39 lines
1.4 KiB
Python

"""
Mobile API URL Configuration
"""
from django.urls import path
from . import views
app_name = 'mobile'
urlpatterns = [
# Device Management
path('api/device/register/', views.register_device, name='register_device'),
path('api/device/unregister/<str:device_token>/', views.unregister_device, name='unregister_device'),
path('api/device/list/', views.get_user_devices, name='get_user_devices'),
# Push Notifications
path('api/notifications/send/', views.send_push_notification, name='send_push_notification'),
# Offline Sync
path('api/sync/', views.sync_offline_data, name='sync_offline_data'),
# Analytics
path('api/analytics/track/', views.track_analytics, name='track_analytics'),
# Mobile-optimierte Daten
path('api/products/', views.get_mobile_products, name='get_mobile_products'),
path('api/auctions/', views.get_mobile_auctions, name='get_mobile_auctions'),
# Session Management
path('api/session/start/', views.start_session, name='start_session'),
path('api/session/end/<str:session_id>/', views.end_session, name='end_session'),
# Error Reporting
path('api/error/report/', views.report_error, name='report_error'),
# Cache Management
path('api/cache/<str:cache_type>/', views.get_mobile_cache, name='get_mobile_cache'),
path('api/cache/<str:cache_type>/update/', views.update_mobile_cache, name='update_mobile_cache'),
]