#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 3938db1893
commit 0c35e79d04
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"),
]