#31 API basic implementation Intervention fetch

* enhances intervention fetching and serialization
This commit is contained in:
2022-01-21 16:29:59 +01:00
parent cf82f4b223
commit 11de423d05
3 changed files with 24 additions and 13 deletions

View File

@@ -11,5 +11,5 @@ from api.views.v1.intervention import APIInterventionViewV1
app_name = "v1"
urlpatterns = [
path("intervention/<identifier>", APIInterventionViewV1.as_view(), name="intervention"),
path("intervention/<id>", APIInterventionViewV1.as_view(), name="intervention"),
]