feat(channels): align twitter authorization

This commit is contained in:
2026-06-06 18:29:35 +08:00
parent 0f2d64c8f6
commit 5b143b6da7
7 changed files with 294 additions and 8 deletions
+2 -1
View File
@@ -757,6 +757,7 @@ POST /api/v1/accounts/:account_id/teams/:team_id/team_members
POST /api/v1/accounts/:account_id/teams/:team_id/team_members/
POST /api/v1/accounts/:account_id/tiktok_channels/
POST /api/v1/accounts/:account_id/twilio_sms_channels/
POST /api/v1/accounts/:account_id/twitter/authorization
POST /api/v1/accounts/:account_id/twitter/webhooks
POST /api/v1/accounts/:account_id/twitter_channels/oauth_callback
POST /api/v1/accounts/:account_id/update_active_at
@@ -940,4 +941,4 @@ PUT /public/api/v1/csat_survey/:id
PUT /public/api/v1/inboxes/:inbox_id/contacts/:contact_id
PUT /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/messages/:message_id
PUT /widget/direct_uploads/:upload_uuid
TOTAL: 942
TOTAL: 943
+2 -1
View File
@@ -7,7 +7,7 @@ Generated from:
This report covers tracked frontend-critical Chatwoot routes from `reference/chatwoot/config/routes.rb`, including API v1 account routes, Captain/Copilot, assignment policies, widget/public APIs, and API v2 reports. Ruby is not installed in the workspace, so Chatwoot routes are sourced from static route declarations instead of `bin/rails routes`.
Summary: 392 exact, 0 method-compatible, 13 parameter-compatible, 0 missing out of 405 tracked critical routes.
Summary: 393 exact, 0 method-compatible, 13 parameter-compatible, 0 missing out of 406 tracked critical routes.
## Missing Critical Routes
@@ -372,6 +372,7 @@ These routes exist with equivalent method and path shape but different parameter
| POST | `/api/v1/accounts/:account_id/sla_policies` | `/api/v1/accounts/:account_id/sla_policies` | `api/v1/accounts/sla_policies#create` | `routes.rb:121` | exact |
| POST | `/api/v1/accounts/:account_id/teams/` | `/api/v1/accounts/:account_id/teams/` | `api/v1/accounts/teams#create` | `routes.rb:296` | exact |
| POST | `/api/v1/accounts/:account_id/teams/:team_id/team_members/` | `/api/v1/accounts/:account_id/teams/:team_id/team_members/` | `api/v1/accounts/teams/team_members#create` | `routes.rb:297` | exact |
| POST | `/api/v1/accounts/:account_id/twitter/authorization` | `/api/v1/accounts/:account_id/twitter/authorization` | `api/v1/accounts/twitter/authorizations#create` | `routes.rb:315` | exact |
| POST | `/api/v1/accounts/:account_id/update_active_at` | `/api/v1/accounts/:account_id/update_active_at` | `api/v1/accounts#update_active_at` | `routes.rb:49` | exact |
| POST | `/api/v1/accounts/:account_id/webhooks` | `/api/v1/accounts/:account_id/webhooks` | `api/v1/accounts/webhooks#create` | `routes.rb:342` | exact |
| POST | `/api/v1/notification_subscriptions` | `/api/v1/notification_subscriptions` | `api/v1/notification_subscriptions#create` | `routes.rb:440` | exact |