mirror of
https://github.com/Ai-hack-MAGNUM-OPUS/backend.git
synced 2024-11-26 02:03:43 +03:00
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
from django.urls import path, include
|
|
|
|
from checker.api.views import ListCreateDocxApiView, RetireDocxSerializer, GetDocxState
|
|
|
|
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/", ListCreateDocxApiView.as_view(), name="list_create_word"),
|
|
path(
|
|
"docx/<uuid:uuid>", RetireDocxSerializer.as_view(), name="get_word"
|
|
),
|
|
path(
|
|
"state/<uuid:uuid>", GetDocxState.as_view(), name="get_state_word"
|
|
),
|
|
]
|
|
),
|
|
),
|
|
]
|