|
|
@ -11,6 +11,7 @@ from .views import CommentList, CommentDetail |
|
|
|
from .views import TextUploadAPI, TextDownloadAPI, CloudUploadAPI |
|
|
|
from .views import StatisticsAPI |
|
|
|
from .views import RoleMappingList, RoleMappingDetail, Roles |
|
|
|
from .views import AutoLabelingTemplateAPI |
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
|
path('health', Health.as_view(), name='health'), |
|
|
@ -52,6 +53,11 @@ urlpatterns = [ |
|
|
|
RoleMappingList.as_view(), name='rolemapping_list'), |
|
|
|
path('projects/<int:project_id>/roles/<int:rolemapping_id>', |
|
|
|
RoleMappingDetail.as_view(), name='rolemapping_detail'), |
|
|
|
path( |
|
|
|
route='projects/<int:project_id>/auto-labeling-templates', |
|
|
|
view=AutoLabelingTemplateAPI.as_view(), |
|
|
|
name='auto_labeling_templates' |
|
|
|
) |
|
|
|
] |
|
|
|
|
|
|
|
# urlpatterns = format_suffix_patterns(urlpatterns, allowed=['json', 'xml']) |