feat(custom-domains): expose cloudflare challenge

This commit is contained in:
2026-06-06 09:09:01 +08:00
parent 361e3b8311
commit c4b92b7a18
6 changed files with 128 additions and 8 deletions
+2 -1
View File
@@ -116,6 +116,7 @@ DELETE /platform/api/v1/installation_configs/:id
DELETE /platform/api/v1/users/:id
GET /.well-known/apple-app-site-association
GET /.well-known/assetlinks.json
GET /.well-known/cf-custom-hostname-challenge/:id
GET /.well-known/microsoft-identity-association.json
GET /api/v1/accounts/
GET /api/v1/accounts/:account_id
@@ -884,4 +885,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: 886
TOTAL: 887
+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: 338 exact, 0 method-compatible, 9 parameter-compatible, 0 missing out of 347 tracked critical routes.
Summary: 339 exact, 0 method-compatible, 9 parameter-compatible, 0 missing out of 348 tracked critical routes.
## Missing Critical Routes
@@ -86,6 +86,7 @@ These routes exist with equivalent method and path shape but different parameter
| DELETE | `/api/v1/widget/labels/:label_id` | `/api/v1/widget/labels/:label_id` | `api/v1/widget/labels#destroy` | `routes.rb:464` | exact |
| GET | `/.well-known/apple-app-site-association` | `/.well-known/apple-app-site-association` | `apple_app#site_association` | `routes.rb:658` | exact |
| GET | `/.well-known/assetlinks.json` | `/.well-known/assetlinks.json` | `android_app#assetlinks` | `routes.rb:657` | exact |
| GET | `/.well-known/cf-custom-hostname-challenge/:id` | `/.well-known/cf-custom-hostname-challenge/:id` | `custom_domains#verify` | `routes.rb:660` | exact |
| GET | `/.well-known/microsoft-identity-association.json` | `/.well-known/microsoft-identity-association.json` | `microsoft#identity_association` | `routes.rb:659` | exact |
| GET | `/api/v1/accounts/:account_id` | `/api/v1/accounts/:account_id` | `api/v1/accounts#show` | `routes.rb:47` | exact |
| GET | `/api/v1/accounts/:account_id/agent_bots` | `/api/v1/accounts/:account_id/agent_bots` | `api/v1/accounts/agent_bots#index` | `routes.rb:94` | exact |