X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0dd00c51dfdbda93e1b9c4612477cd05109d4517..9ff5f2ac22360b1ff3ef2473c15d4acfd1e7769b:/src/documents/api/urls.py diff --git a/src/documents/api/urls.py b/src/documents/api/urls.py new file mode 100644 index 00000000..1654034f --- /dev/null +++ b/src/documents/api/urls.py @@ -0,0 +1,18 @@ +from django.urls import path +from . import views + + +urlpatterns = [ + path('books/', views.BookList.as_view(), + name='documents_api_book_list'), + path('books//', views.BookDetail.as_view(), + name='documents_api_book'), + path('chunks/', views.ChunkList.as_view(), + name='documents_api_chunk_list'), + path('chunks//', views.ChunkDetail.as_view(), + name='documents_api_chunk'), + path('chunks//revisions/', views.ChunkRevisionList.as_view(), + name='documents_api_chunk_revision_list'), + path('revisions//', views.RevisionDetail.as_view(), + name='documents_api_revision'), +]