backend/conf/api_router.py

11 lines
431 B
Python
Raw Normal View History

2022-08-26 20:04:45 +03:00
from django.urls import path, include
2022-08-27 07:38:54 +03:00
from checker.api.views import ListCreateDocxApiView, RetireDocxSerializer, GetDocxState
2022-08-26 20:04:45 +03:00
urlpatterns = [
path("health/", include("health_check.urls")),
2022-08-27 07:38:54 +03:00
path("docx/", ListCreateDocxApiView.as_view(), name="list_create_docx"),
path("docx/<uuid:uuid>", RetireDocxSerializer.as_view(), name="get_docx"),
path("state/<uuid:uuid>", GetDocxState.as_view(), name="get_state_docx"),
2022-08-26 20:04:45 +03:00
]