feat(channels): align facebook callbacks

This commit is contained in:
2026-06-06 22:18:33 +08:00
parent e730b28bbd
commit 6e66af78c7
12 changed files with 599 additions and 63 deletions
+4
View File
@@ -59,6 +59,10 @@ var criticalRoutes = []route{
{Method: "POST", Path: "/api/v1/accounts/:account_id/agents/bulk_create", Controller: "api/v1/accounts/agents#bulk_create", Source: "routes.rb:60"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/assignable_agents", Controller: "api/v1/accounts/assignable_agents#index", Source: "routes.rb:104"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/audit_logs/", Controller: "api/v1/accounts/audit_logs#show", Source: "routes.rb:105"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/callbacks/register_facebook_page", Controller: "api/v1/accounts/callbacks#register_facebook_page", Source: "routes.rb:108-109"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/callbacks/register_facebook_page", Controller: "api/v1/accounts/callbacks#register_facebook_page", Source: "routes.rb:108-109"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/callbacks/facebook_pages", Controller: "api/v1/accounts/callbacks#facebook_pages", Source: "routes.rb:110"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/callbacks/reauthorize_page", Controller: "api/v1/accounts/callbacks#reauthorize_page", Source: "routes.rb:111"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/agent_bots", Controller: "api/v1/accounts/agent_bots#index", Source: "routes.rb:94"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/agent_bots", Controller: "api/v1/accounts/agent_bots#create", Source: "routes.rb:94"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/agent_bots/:agent_bot_id", Controller: "api/v1/accounts/agent_bots#show", Source: "routes.rb:94"},