from django.urls import path
from .import views

urlpatterns = [
    path('list/', views.get_measurements, name='measurementList'),
    path('list/<int:id>', views.get_a_measurement_by_id, name='measurementById'),
    path('update/<int:id>/<str:variable>', views.update_measurement, name='updateMeasurement'),
    path('delete/<int:id>', views.delete_measurement, name='deleteMeasurement'),
]