feat(dashboard-apps): align chatwoot payloads

This commit is contained in:
2026-06-06 13:03:16 +08:00
parent 11e5537f9b
commit 75f0e809a5
9 changed files with 312 additions and 71 deletions
+7
View File
@@ -73,6 +73,13 @@ var criticalRoutes = []route{
{Method: "PUT", Path: "/api/v1/accounts/:account_id/canned_responses/:id", Controller: "api/v1/accounts/canned_responses#update", Source: "routes.rb:114"},
{Method: "DELETE", Path: "/api/v1/accounts/:account_id/canned_responses/:id", Controller: "api/v1/accounts/canned_responses#destroy", Source: "routes.rb:114"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/dashboard_apps", Controller: "api/v1/accounts/dashboard_apps#index", Source: "routes.rb:130"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/dashboard_apps", Controller: "api/v1/accounts/dashboard_apps#create", Source: "routes.rb:130"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/dashboard_apps/:id", Controller: "api/v1/accounts/dashboard_apps#show", Source: "routes.rb:130"},
{Method: "PATCH", Path: "/api/v1/accounts/:account_id/dashboard_apps/:id", Controller: "api/v1/accounts/dashboard_apps#update", Source: "routes.rb:130"},
{Method: "PUT", Path: "/api/v1/accounts/:account_id/dashboard_apps/:id", Controller: "api/v1/accounts/dashboard_apps#update", Source: "routes.rb:130"},
{Method: "DELETE", Path: "/api/v1/accounts/:account_id/dashboard_apps/:id", Controller: "api/v1/accounts/dashboard_apps#destroy", Source: "routes.rb:130"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/conversations/", Controller: "api/v1/accounts/conversations#index", Source: "routes.rb:134"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/conversations/", Controller: "api/v1/accounts/conversations#create", Source: "routes.rb:134"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id", Controller: "api/v1/accounts/conversations#show", Source: "routes.rb:134"},