Recipes phase 5
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from django.urls import path
|
||||
from . import api, api_schema
|
||||
from recipes import api as recipe_api
|
||||
|
||||
urlpatterns = [
|
||||
path('auth/whoami/', api.whoami),
|
||||
@@ -25,4 +26,16 @@ urlpatterns = [
|
||||
path('hydration/manual/', api.hydration_log),
|
||||
path('hydration/manual/<uuid:identifier>/', api.hydration_manual_entry),
|
||||
path('hydration/settings/', api.hydration_settings),
|
||||
path('recipes/', recipe_api.recipe_search),
|
||||
path('recipes/create/', recipe_api.recipe_create),
|
||||
path('recipes/<uuid:identifier>/', recipe_api.recipe_item),
|
||||
path('recipes/<uuid:identifier>/variations/', recipe_api.recipe_variation),
|
||||
path('recipes/<uuid:identifier>/ingredients/', recipe_api.recipe_ingredient_create),
|
||||
path('recipes/<uuid:identifier>/ingredients/<int:item_id>/', recipe_api.recipe_ingredient_item),
|
||||
path('recipes/<uuid:identifier>/subrecipes/', recipe_api.recipe_subrecipe_create),
|
||||
path('recipes/<uuid:identifier>/subrecipes/<int:item_id>/', recipe_api.recipe_subrecipe_delete),
|
||||
path('recipes/<uuid:identifier>/stock/preview/', recipe_api.recipe_stock_preview),
|
||||
path('recipes/<uuid:identifier>/stock/confirm/', recipe_api.recipe_stock_confirm),
|
||||
path('recipes/stock-use/<uuid:identifier>/undo/', recipe_api.recipe_stock_undo),
|
||||
path('recipes/<uuid:identifier>/log/', recipe_api.recipe_log),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user