12 lines
387 B
Python
12 lines
387 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
path('notes/', views.NotesAPI.as_view(), name='api_notes'),
|
|
path('notes/<uuid:note_id>/', views.NoteDetailAPI.as_view(), name='api_note_detail'),
|
|
path('notes/<uuid:note_id>/items/', views.NoteItemsAPI.as_view(), name='api_note_items'),
|
|
path('users/', views.UserSearchAPI.as_view(), name='api_users'),
|
|
]
|