ConceptPortal-public/rsconcept/backend/apps/rsform/urls.py
Ivan 727c1b3ab6
Some checks are pending
Backend CI / build (3.12) (push) Waiting to run
Frontend CI / build (22.x) (push) Waiting to run
R: Move update-cst to RSForm
2024-07-31 14:02:33 +03:00

26 lines
831 B
Python

''' Routing: RSForms for conceptual schemas. '''
from django.urls import include, path
from rest_framework import routers
from . import views
library_router = routers.SimpleRouter(trailing_slash=False)
library_router.register('rsforms', views.RSFormViewSet, 'RSForm')
urlpatterns = [
path('rsforms/import-trs', views.TrsImportView.as_view()),
path('rsforms/create-detailed', views.create_rsform),
path('rsforms/inline-synthesis', views.inline_synthesis),
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),
path('', include(library_router.urls)),
]