feat(help-center): expose public category lists

This commit is contained in:
2026-06-06 07:23:55 +08:00
parent 53434ab397
commit c64b4c2f92
10 changed files with 179 additions and 10 deletions
+4 -1
View File
@@ -416,6 +416,9 @@ GET /auth/validate_token
GET /cable
GET /hc/:slug/:locale/articles
GET /hc/:slug/:locale/articles.json
GET /hc/:slug/:locale/categories
GET /hc/:slug/:locale/categories.json
GET /hc/:slug/:locale/categories/:category_slug
GET /hc/:slug/:locale/categories/:category_slug/articles
GET /hc/:slug/:locale/categories/:category_slug/articles.json
GET /health
@@ -871,4 +874,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: 873
TOTAL: 876
+4 -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: 325 exact, 0 method-compatible, 7 parameter-compatible, 0 missing out of 332 tracked critical routes.
Summary: 328 exact, 0 method-compatible, 7 parameter-compatible, 0 missing out of 335 tracked critical routes.
## Missing Critical Routes
@@ -209,6 +209,9 @@ These routes exist with equivalent method and path shape but different parameter
| GET | `/api/v2/accounts/:account_id/summary_reports/team` | `/api/v2/accounts/:account_id/summary_reports/team` | `api/v2/accounts/summary_reports#team` | `routes.rb:482` | exact |
| GET | `/hc/:slug/:locale/articles` | `/hc/:slug/:locale/articles` | `public/api/v1/portals/articles#index` | `routes.rb:594` | exact |
| GET | `/hc/:slug/:locale/articles.json` | `/hc/:slug/:locale/articles.json` | `public/api/v1/portals/articles#index` | `routes.rb:594` | exact |
| GET | `/hc/:slug/:locale/categories` | `/hc/:slug/:locale/categories` | `public/api/v1/portals/categories#index` | `routes.rb:595` | exact |
| GET | `/hc/:slug/:locale/categories.json` | `/hc/:slug/:locale/categories.json` | `public/api/v1/portals/categories#index` | `routes.rb:595` | exact |
| GET | `/hc/:slug/:locale/categories/:category_slug` | `/hc/:slug/:locale/categories/:category_slug` | `public/api/v1/portals/categories#show` | `routes.rb:596` | exact |
| GET | `/hc/:slug/:locale/categories/:category_slug/articles` | `/hc/:slug/:locale/categories/:category_slug/articles` | `public/api/v1/portals/articles#index` | `routes.rb:597` | exact |
| GET | `/hc/:slug/:locale/categories/:category_slug/articles.json` | `/hc/:slug/:locale/categories/:category_slug/articles.json` | `public/api/v1/portals/articles#index` | `routes.rb:597` | exact |
| GET | `/public/api/v1/csat_survey/:id` | `/public/api/v1/csat_survey/:id` | `public/api/v1/csat_survey#show` | `routes.rb:585` | exact |