mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-05 05:37:50 +02:00
Add REST API to roster
This commit is contained in:
10
dcc/roster/urls.py
Normal file
10
dcc/roster/urls.py
Normal 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()),
|
||||
]
|
Reference in New Issue
Block a user