Portal/rsconcept/backend/apps/rsform/urls.py

26 lines
831 B
Python
Raw Normal View History

2024-06-07 20:17:03 +03:00
''' 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')
2024-06-07 20:17:03 +03:00
urlpatterns = [
path('rsforms/import-trs', views.TrsImportView.as_view()),
path('rsforms/create-detailed', views.create_rsform),
2024-07-31 14:01:39 +03:00
path('rsforms/inline-synthesis', views.inline_synthesis),
2024-06-07 20:17:03 +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-06-07 20:17:03 +03:00
path('', include(library_router.urls)),
]