mirror of
https://github.com/Ai-hack-MAGNUM-OPUS/backend.git
synced 2024-11-28 11:03:42 +03:00
37 lines
1.1 KiB
Python
37 lines
1.1 KiB
Python
from django.urls import path, include
|
|
|
|
from checker.api.views import ListCreateDocxApiView, RetireDocxSerializer, GetDocxState, ListCreateWordDocxApiView, \
|
|
GetWordDocxState, RetireWordDocxSerializer
|
|
|
|
urlpatterns = [
|
|
path("health/", include("health_check.urls")),
|
|
path(
|
|
"site/",
|
|
include(
|
|
[
|
|
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"
|
|
),
|
|
]
|
|
),
|
|
),
|
|
path(
|
|
"word/",
|
|
include(
|
|
[
|
|
path("docx/", ListCreateWordDocxApiView.as_view(), name="list_create_word"),
|
|
path(
|
|
"docx/<uuid:uuid>", GetWordDocxState.as_view(), name="get_word"
|
|
),
|
|
path(
|
|
"state/<uuid:uuid>", RetireWordDocxSerializer.as_view(), name="get_state_word"
|
|
),
|
|
]
|
|
),
|
|
),
|
|
]
|