IDDRS/api/urls.py

11 lines
587 B
Python
Raw Permalink Normal View History

2022-07-25 10:03:35 +00:00
from django.urls import path
from . import views
urlpatterns = [
path('', views.apiOverview, name='api-overview'),
path('content-list/<str:level>/<str:standard>', views.contentList, name='content-list'),
path('content-detail/<str:level>/<str:standard>/<str:pk>/', views.contentDetail, name='content-detail'),
path('content-create/', views.contentCreate, name='content-create'),
path('content-update/<str:level>/<str:standard>/<str:pk>/', views.contentUpdate, name='content-update'),
path('content-delete/<str:pk>/', views.contentDelete, name='content-delete'),
]