Add REST API to roster

This commit is contained in:
2021-12-27 16:22:58 +01:00
parent c5bc00d925
commit f98d208a20
5 changed files with 78 additions and 2 deletions

10
dcc/roster/urls.py Normal file
View File

@@ -0,0 +1,10 @@
from django.urls import path
from roster.views import (
RosterList, RosterGet, RosterAddress, RosterIdentifier)
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()),
]