+ path('collections/',
+ piwik_track_view(views.CollectionList.as_view()),
+ name="catalogue_api_collections"),
+ path('collections/<slug:slug>/',
+ piwik_track_view(views.CollectionDetail.as_view()),
+ name="collection-detail"),
+
+ re_path(tags_re + r'books/' + paginate_re,
+ piwik_track_view(views.BookList.as_view()),
+ name='catalogue_api_book_list'),
+ re_path(tags_re + r'parent_books/' + paginate_re,
+ piwik_track_view(views.BookList.as_view()),
+ {"top_level": True}, name='catalogue_api_parent_book_list'),
+ re_path(tags_re + r'audiobooks/' + paginate_re,
+ piwik_track_view(views.BookList.as_view()),
+ {"audiobooks": True}, name='catalogue_api_audiobook_list'),
+ re_path(tags_re + r'daisy/' + paginate_re,
+ piwik_track_view(views.BookList.as_view()),
+ {"daisy": True}, name='catalogue_api_daisy_list'),
+ re_path(r'^recommended/' + paginate_re,
+ piwik_track_view(views.BookList.as_view()),
+ {"recommended": True}, name='catalogue_api_recommended_list'),
+ path('newest/',
+ piwik_track_view(views.BookList.as_view()),
+ {"newest": True, "top_level": True, "count": 20},
+ name='catalogue_api_newest_list'),
+
+ path('books/<slug:slug>/',
+ piwik_track_view(views.BookDetail.as_view()),
+ name='catalogue_api_book'),
+
+ re_path(tags_re + r'ebooks/' + paginate_re,
+ piwik_track_view(views.EbookList.as_view()),
+ name='catalogue_api_ebook_list'),
+ re_path(tags_re + r'parent_ebooks/' + paginate_re,
+ piwik_track_view(views.EbookList.as_view()),
+ {"top_level": True},
+ name='catalogue_api_parent_ebook_list'),
+
+ path('filter-books/',
+ piwik_track_view(views.FilterBookList.as_view()),
+ name='catalogue_api_filter_books'),