"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license. """ from django.urls import include, path from . import api app_name = 'data_export' _api_urlpatterns = [ # export api path('/export', api.ExportAPI.as_view(), name='project-export'), path('/export/formats', api.ExportFormatsListAPI.as_view(), name='project-export-formats'), # Previously exported results path('/export/files', api.ProjectExportFiles.as_view(), name='project-export-files'), path('/exports/', api.ExportListAPI.as_view(), name='project-exports-list'), path('/exports/', api.ExportDetailAPI.as_view(), name='project-exports-detail'), path( '/exports//download', api.ExportDownloadAPI.as_view(), name='project-exports-download' ), path('/exports//convert', api.ExportConvertAPI.as_view(), name='project-exports-convert'), ] urlpatterns = [ path('api/projects/', include((_api_urlpatterns, app_name), namespace='api-projects')), path('api/auth/export/', api.ProjectExportFilesAuthCheck.as_view(), name='project-export-files-auth-check'), # path('api/auth/exports/', api.ExportListAPI.as_view(), name='api-exports'), ]