from django.urls import path from . import api, api_schema urlpatterns = [ path('auth/whoami/', api.whoami), path('schema/', api_schema.schema), path('food/today/', api.today), path('food/products/', api.products), path('food/products/lookup/', api.product_lookup), path('food/products/create/', api.product_create), path('food/products/import/', api.product_import), path('food/log/', api.log_create), path('food/log//', api.log_item), path('food/log//attachments/', api.attachment_create), path('food/attachments//file/', api.attachment_file), path('food/attachments//', api.attachment_delete), path('kitchen/items/', api.inventory_collection), path('kitchen/import-groceries/', api.inventory_import_groceries), path('kitchen/items//', api.inventory_item), path('kitchen/stock/', api.inventory_stock), path('kitchen/consumption/preview/', api.inventory_preview), path('kitchen/consumption/', api.inventory_consume), path('kitchen/consumption//undo/', api.inventory_undo), path('hydration/daily/', api.hydration_daily), path('hydration/manual/', api.hydration_log), path('hydration/manual//', api.hydration_manual_entry), path('hydration/settings/', api.hydration_settings), ]