ConceptPortal-public/rsconcept/backend/apps/rsform/urls.py

28 lines
934 B
Python
Raw Normal View History

''' Routing: RSForms for conceptual schemas. '''
2024-05-24 18:31:14 +03:00
from django.urls import include, path
2023-07-15 17:46:19 +03:00
from rest_framework import routers
2024-05-24 18:31:14 +03:00
2023-07-15 17:46:19 +03:00
from . import views
2023-08-26 17:26:49 +03:00
library_router = routers.SimpleRouter(trailing_slash=False)
library_router.register('rsforms', views.RSFormViewSet, 'RSForm')
2023-07-15 17:46:19 +03:00
urlpatterns = [
2023-08-26 17:26:49 +03:00
path('constituents/<int:pk>', views.ConstituentAPIView.as_view(), name='constituenta-detail'),
path('rsforms/import-trs', views.TrsImportView.as_view()),
path('rsforms/create-detailed', views.create_rsform),
2024-03-04 15:26:23 +03:00
path('operations/inline-synthesis', views.inline_synthesis),
2023-09-24 19:08:17 +03:00
path('rslang/parse-expression', views.parse_expression),
path('rslang/to-ascii', views.convert_to_ascii),
path('rslang/to-math', views.convert_to_math),
path('cctext/inflect', views.inflect),
path('cctext/generate-lexeme', views.generate_lexeme),
path('cctext/parse', views.parse_text),
2024-07-20 13:12:28 +03:00
2023-08-25 22:51:20 +03:00
path('', include(library_router.urls)),
2023-07-15 17:46:19 +03:00
]