feat(integrations): align notion authorization

This commit is contained in:
2026-06-06 18:00:19 +08:00
parent 5ed9952b7e
commit 0f2d64c8f6
9 changed files with 154 additions and 9 deletions
+2 -1
View File
@@ -726,6 +726,7 @@ POST /api/v1/accounts/:account_id/notifications/:notification_id/snooze
POST /api/v1/accounts/:account_id/notifications/:notification_id/unread
POST /api/v1/accounts/:account_id/notifications/destroy_all
POST /api/v1/accounts/:account_id/notifications/read_all
POST /api/v1/accounts/:account_id/notion/authorization
POST /api/v1/accounts/:account_id/platform_apps/
POST /api/v1/accounts/:account_id/platform_apps/:platform_app_id/permissibles
POST /api/v1/accounts/:account_id/platform_apps/:platform_app_id/regenerate_access_token
@@ -939,4 +940,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: 941
TOTAL: 942
+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: 391 exact, 0 method-compatible, 13 parameter-compatible, 0 missing out of 404 tracked critical routes.
Summary: 392 exact, 0 method-compatible, 13 parameter-compatible, 0 missing out of 405 tracked critical routes.
## Missing Critical Routes
@@ -361,6 +361,7 @@ These routes exist with equivalent method and path shape but different parameter
| POST | `/api/v1/accounts/:account_id/notifications/:notification_id/unread` | `/api/v1/accounts/:account_id/notifications/:notification_id/unread` | `api/v1/accounts/notifications#unread` | `routes.rb:291` | exact |
| POST | `/api/v1/accounts/:account_id/notifications/destroy_all` | `/api/v1/accounts/:account_id/notifications/destroy_all` | `api/v1/accounts/notifications#destroy_all` | `routes.rb:287` | exact |
| POST | `/api/v1/accounts/:account_id/notifications/read_all` | `/api/v1/accounts/:account_id/notifications/read_all` | `api/v1/accounts/notifications#read_all` | `routes.rb:285` | exact |
| POST | `/api/v1/accounts/:account_id/notion/authorization` | `/api/v1/accounts/:account_id/notion/authorization` | `api/v1/accounts/notion/authorizations#create` | `routes.rb:335` | exact |
| POST | `/api/v1/accounts/:account_id/portals` | `/api/v1/accounts/:account_id/portals` | `api/v1/accounts/portals#create` | `routes.rb:385` | exact |
| POST | `/api/v1/accounts/:account_id/portals/:portal_id/articles` | `/api/v1/accounts/:account_id/portals/:portal_id/articles` | `api/v1/accounts/articles#create` | `routes.rb:403` | exact |
| POST | `/api/v1/accounts/:account_id/portals/:portal_id/articles/bulk_actions/translate` | `/api/v1/accounts/:account_id/portals/:portal_id/articles/bulk_actions/translate` | `api/v1/accounts/articles/bulk_actions#translate` | `routes.rb:397` | exact |