feat(help-center): expose public category lists
This commit is contained in:
@@ -285,6 +285,9 @@ func RegisterRoutes(
|
||||
{
|
||||
helpCenter.GET("/:slug/:locale/articles", handlers.Article.PublicList)
|
||||
helpCenter.GET("/:slug/:locale/articles.json", handlers.Article.PublicList)
|
||||
helpCenter.GET("/:slug/:locale/categories", handlers.Category.PublicList)
|
||||
helpCenter.GET("/:slug/:locale/categories.json", handlers.Category.PublicList)
|
||||
helpCenter.GET("/:slug/:locale/categories/:category_slug", handlers.Category.PublicGet)
|
||||
helpCenter.GET("/:slug/:locale/categories/:category_slug/articles", handlers.Article.PublicList)
|
||||
helpCenter.GET("/:slug/:locale/categories/:category_slug/articles.json", handlers.Article.PublicList)
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ func TestRegisterRoutesBootsWithChatwootParityConflictGroups(t *testing.T) {
|
||||
"GET /api/v1/widget/conversations/toggle_status",
|
||||
"PUT /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/messages/:message_id",
|
||||
"GET /hc/:slug/:locale/articles.json",
|
||||
"GET /hc/:slug/:locale/categories.json",
|
||||
"GET /hc/:slug/:locale/categories/:category_slug",
|
||||
"GET /api/v2/accounts/:account_id/reports/summary",
|
||||
"GET /api/v2/accounts/:account_id/live_reports/grouped_conversation_metrics",
|
||||
"GET /webhooks/twitter",
|
||||
|
||||
Reference in New Issue
Block a user