opt-in presence record
[redakcja.git] / src / documents / api / urls.py
1 from django.urls import path
2 from . import views
3
4
5 urlpatterns = [
6     path('books/', views.BookList.as_view(),
7          name='documents_api_book_list'),
8     path('books/<int:pk>/', views.BookDetail.as_view(),
9          name='documents_api_book'),
10     path('chunks/', views.ChunkList.as_view(),
11          name='documents_api_chunk_list'),
12     path('chunks/<int:pk>/', views.ChunkDetail.as_view(),
13          name='documents_api_chunk'),
14     path('chunks/<int:pk>/revisions/', views.ChunkRevisionList.as_view(),
15          name='documents_api_chunk_revision_list'),
16     path('revisions/<int:pk>/', views.RevisionDetail.as_view(),
17          name='documents_api_revision'),
18 ]