Files
digest_app/module_activity/api/urls.py

30 lines
1.0 KiB
Python
Raw Normal View History

2024-02-26 13:28:32 +05:30
from django.urls import path
from . import views
urlpatterns = [
path("profile/", views.ProfileAPIView.as_view()),
path("daily-records/", views.DailyRecordAPIView.as_view()),
path("intolerance/", views.IntoleranceListCreateAPIView.as_view()),
# path("intolerance/<int:pk>/", views.IntoleranceRetrieveUpdateDestroyAPIView.as_view()),
path("symptoms/", views.SymptomsListCreateAPIView.as_view()),
path("past-treatment/", views.PastTreatmentListCreateAPIView.as_view()),
path("chronic-condition/", views.ChronicConditionListCreateAPIView.as_view()),
path("medication/", views.MedicationAPIView.as_view()),
path("medication/<int:pk>/", views.MedicationAPIView.as_view()),
path("bowel/", views.BowelAPIView.as_view()),
path("bowel/<int:pk>/", views.BowelAPIView.as_view()),
path("meal-symptoms/", views.MealSymptomAPIView.as_view()),
path("meal-symptoms/<int:pk>/", views.MealSymptomAPIView.as_view()),
path("meal/", views.MealAPIView.as_view()),
path("meal/<int:pk>/", views.MealAPIView.as_view()),
]