Update urls.py
Browse files
urls.py
CHANGED
|
@@ -1,27 +1,27 @@
|
|
| 1 |
-
from django.urls import path
|
| 2 |
-
from . import views
|
| 3 |
-
|
| 4 |
-
urlpatterns = [
|
| 5 |
-
# Admin Global Q&A CRUD
|
| 6 |
-
path('admin/global-qa/', views.admin_global_qa),
|
| 7 |
-
path('admin/global-qa/<uuid:qa_id>/', views.admin_global_qa),
|
| 8 |
-
path('admin/global-qa/bulk/', views.admin_global_qa_bulk),
|
| 9 |
-
|
| 10 |
-
# Admin CRUD (Single)
|
| 11 |
-
path('admin/master-questions/', views.admin_master_questions),
|
| 12 |
-
path('admin/master-questions/<uuid:question_id>/', views.admin_master_questions),
|
| 13 |
-
|
| 14 |
-
# Admin Bulk Create
|
| 15 |
-
path('admin/master-questions/bulk/', views.admin_master_questions_bulk),
|
| 16 |
-
|
| 17 |
-
# Agency endpoints
|
| 18 |
-
path('master-questions/', views.get_master_questions),
|
| 19 |
-
path('property-qa/save-bulk/', views.save_property_qa_bulk),
|
| 20 |
-
path('property-qa/status/<uuid:property_id>/', views.get_property_qa_status),
|
| 21 |
-
path('auto-chat/toggle/<
|
| 22 |
-
path('auto-chat/enable-with-questions/', views.enable_auto_chat_with_questions),
|
| 23 |
-
path('custom-questions/<uuid:property_id>/', views.get_custom_questions),
|
| 24 |
-
|
| 25 |
-
# Webhook for Chat app
|
| 26 |
-
path('webhook/auto-reply/', views.webhook_auto_reply),
|
| 27 |
]
|
|
|
|
| 1 |
+
from django.urls import path
|
| 2 |
+
from . import views
|
| 3 |
+
|
| 4 |
+
urlpatterns = [
|
| 5 |
+
# Admin Global Q&A CRUD
|
| 6 |
+
path('admin/global-qa/', views.admin_global_qa),
|
| 7 |
+
path('admin/global-qa/<uuid:qa_id>/', views.admin_global_qa),
|
| 8 |
+
path('admin/global-qa/bulk/', views.admin_global_qa_bulk),
|
| 9 |
+
|
| 10 |
+
# Admin CRUD (Single)
|
| 11 |
+
path('admin/master-questions/', views.admin_master_questions),
|
| 12 |
+
path('admin/master-questions/<uuid:question_id>/', views.admin_master_questions),
|
| 13 |
+
|
| 14 |
+
# Admin Bulk Create
|
| 15 |
+
path('admin/master-questions/bulk/', views.admin_master_questions_bulk),
|
| 16 |
+
|
| 17 |
+
# Agency endpoints
|
| 18 |
+
path('master-questions/', views.get_master_questions),
|
| 19 |
+
path('property-qa/save-bulk/', views.save_property_qa_bulk),
|
| 20 |
+
path('property-qa/status/<uuid:property_id>/', views.get_property_qa_status),
|
| 21 |
+
path('auto-chat/toggle/<str:property_id>/', views.toggle_auto_chat),
|
| 22 |
+
path('auto-chat/enable-with-questions/', views.enable_auto_chat_with_questions),
|
| 23 |
+
path('custom-questions/<uuid:property_id>/', views.get_custom_questions),
|
| 24 |
+
|
| 25 |
+
# Webhook for Chat app
|
| 26 |
+
path('webhook/auto-reply/', views.webhook_auto_reply),
|
| 27 |
]
|