Review roster API

This commit is contained in:
2022-07-12 19:00:50 +02:00
parent 2dbe01d8bd
commit cb2ff90d8a
4 changed files with 42 additions and 25 deletions

View File

@@ -1,9 +1,9 @@
from django.urls import path
from roster.views import RosterList, RosterGet, RosterAddress, RosterIdentifier
from roster.views import RosterList, RosterGet, RosterAddress, RosterClass
urlpatterns = [
path("list", RosterList.as_view()),
path("get/<str:uuid>", RosterGet.as_view()),
path("address/<int:address>", RosterAddress.as_view()),
path("identifier/<str:identifier>", RosterIdentifier.as_view()),
path("class/<str:class>", RosterClass.as_view()),
]