2022-01-21 15:26:08 +01:00
|
|
|
"""
|
|
|
|
Author: Michel Peltriaux
|
|
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
|
|
Created on: 21.01.22
|
|
|
|
|
|
|
|
"""
|
|
|
|
from django.urls import path
|
|
|
|
|
2022-01-24 10:31:48 +01:00
|
|
|
from api.views.v1.views import EmaAPIViewV1, EcoAccountAPIViewV1, CompensationAPIViewV1, InterventionAPIViewV1
|
2022-01-21 15:26:08 +01:00
|
|
|
|
2022-01-21 16:15:16 +01:00
|
|
|
app_name = "v1"
|
2022-01-21 15:26:08 +01:00
|
|
|
urlpatterns = [
|
2022-01-24 10:31:48 +01:00
|
|
|
path("intervention/<id>", InterventionAPIViewV1.as_view(), name="intervention"),
|
2022-01-24 12:17:17 +01:00
|
|
|
path("intervention/", InterventionAPIViewV1.as_view(), name="intervention"),
|
2022-01-24 10:31:48 +01:00
|
|
|
path("compensation/<id>", CompensationAPIViewV1.as_view(), name="compensation"),
|
2022-01-24 12:17:17 +01:00
|
|
|
path("compensation/", CompensationAPIViewV1.as_view(), name="compensation"),
|
2022-01-24 10:31:48 +01:00
|
|
|
path("ecoaccount/<id>", EcoAccountAPIViewV1.as_view(), name="ecoaccount"),
|
2022-01-24 12:17:17 +01:00
|
|
|
path("ecoaccount/", EcoAccountAPIViewV1.as_view(), name="ecoaccount"),
|
2022-01-24 10:31:48 +01:00
|
|
|
path("ema/<id>", EmaAPIViewV1.as_view(), name="ema"),
|
2022-01-24 12:17:17 +01:00
|
|
|
path("ema/", EmaAPIViewV1.as_view(), name="ema"),
|
2022-01-21 15:26:08 +01:00
|
|
|
]
|