forked from erp-dev/erp
feat: added /api/v2/roles/
This commit is contained in:
@@ -3,6 +3,7 @@ from django.urls import path
|
||||
from api_v2.views import (
|
||||
HealthCheckView,
|
||||
QuickCreateEmployeeUserView,
|
||||
RoleListView,
|
||||
PrintingJobByCustomerView,
|
||||
PrintingJobBatchAdvancePreviewView,
|
||||
PrintingJobBatchAdvanceSubmitView,
|
||||
@@ -16,6 +17,7 @@ from api_v2.views.basic_info import CustomerEmployeeBindingView
|
||||
|
||||
urlpatterns = [
|
||||
path('health/', HealthCheckView.as_view(), name='api_v2_health_check'),
|
||||
path('roles/', RoleListView.as_view(), name='api_v2_role_list'),
|
||||
path('users/quick-create/', QuickCreateEmployeeUserView.as_view(), name='api_v2_user_quick_create'),
|
||||
path('customers/bind-employee/', CustomerEmployeeBindingView.as_view(), name='api_v2_customer_bind_employee'),
|
||||
path('printing-jobs/by-customer/', PrintingJobByCustomerView.as_view(), name='api_v2_printing_job_by_customer'),
|
||||
|
||||
Reference in New Issue
Block a user