#31 API basic implementation EcoAccount fetch
* outsources json creation of modified_on an created_on to superclass * adds API support for fetching ecoaccount data
This commit is contained in:
@@ -8,10 +8,12 @@ Created on: 21.01.22
|
||||
from django.urls import path
|
||||
|
||||
from api.views.v1.compensation import APICompensationViewV1
|
||||
from api.views.v1.ecoaccount import APIEcoAccountViewV1
|
||||
from api.views.v1.intervention import APIInterventionViewV1
|
||||
|
||||
app_name = "v1"
|
||||
urlpatterns = [
|
||||
path("intervention/<id>", APIInterventionViewV1.as_view(), name="intervention"),
|
||||
path("compensation/<id>", APICompensationViewV1.as_view(), name="compensation"),
|
||||
path("ecoaccount/<id>", APIEcoAccountViewV1.as_view(), name="ecoaccount"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user