2024-02-26 13:28:32 +05:30
|
|
|
from django.urls import path
|
|
|
|
|
|
2024-03-21 13:09:14 +05:30
|
|
|
from . import views
|
2024-02-26 13:28:32 +05:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
|
|
|
|
|
path("profile/", views.ProfileAPIView.as_view()),
|
2024-03-11 14:48:48 +05:30
|
|
|
path("profile/complete/", views.ProfileCompleteAPIView.as_view()),
|
2024-02-26 13:28:32 +05:30
|
|
|
|
|
|
|
|
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()),
|
2024-04-08 00:33:02 +05:30
|
|
|
path("meal/duplicate/", views.MealDuplicateAPIView.as_view()),
|
2024-03-21 13:13:06 +05:30
|
|
|
path("meal/date/", views.MealDateAPIView.as_view()),
|
2024-02-26 13:28:32 +05:30
|
|
|
path("meal/<int:pk>/", views.MealAPIView.as_view()),
|
|
|
|
|
|
2024-03-29 00:45:21 +05:30
|
|
|
path("food/data/", views.FoodDataAPIView.as_view()),
|
|
|
|
|
path("food/ingredient/data/", views.FoodIngredientSearchAPIView.as_view()),
|
|
|
|
|
|
2024-03-11 14:48:48 +05:30
|
|
|
path("report/", views.ReportAPIView.as_view()),
|
|
|
|
|
|
2024-02-26 13:28:32 +05:30
|
|
|
]
|