|
|
@ -2,7 +2,7 @@ from django.urls import path |
|
|
|
from rest_framework.authtoken.views import obtain_auth_token |
|
|
|
from rest_framework.urlpatterns import format_suffix_patterns |
|
|
|
|
|
|
|
from .views import Me, Features, Users |
|
|
|
from .views import Me, Features, Users, Health |
|
|
|
from .views import ProjectList, ProjectDetail |
|
|
|
from .views import LabelList, LabelDetail, ApproveLabelsAPI, LabelUploadAPI |
|
|
|
from .views import DocumentList, DocumentDetail |
|
|
@ -12,6 +12,7 @@ from .views import StatisticsAPI |
|
|
|
from .views import RoleMappingList, RoleMappingDetail, Roles |
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
|
path('health', Health.as_view(), name='health'), |
|
|
|
path('auth-token', obtain_auth_token), |
|
|
|
path('me', Me.as_view(), name='me'), |
|
|
|
path('features', Features.as_view(), name='features'), |
|
|
|