feat(help-center): expose public portal search
This commit is contained in:
@@ -285,6 +285,7 @@ func RegisterRoutes(
|
||||
{
|
||||
helpCenter.GET("/:slug", handlers.Portal.PublicRedirectDefaultLocale)
|
||||
helpCenter.GET("/:slug/:locale", handlers.Portal.PublicGet)
|
||||
helpCenter.GET("/:slug/:locale/search", handlers.Article.PublicSearch)
|
||||
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)
|
||||
|
||||
@@ -38,6 +38,7 @@ func TestRegisterRoutesBootsWithChatwootParityConflictGroups(t *testing.T) {
|
||||
"PUT /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/messages/:message_id",
|
||||
"GET /hc/:slug",
|
||||
"GET /hc/:slug/:locale",
|
||||
"GET /hc/:slug/:locale/search",
|
||||
"GET /hc/:slug/:locale/articles.json",
|
||||
"GET /hc/:slug/:locale/categories.json",
|
||||
"GET /hc/:slug/:locale/categories/:category_slug",
|
||||
|
||||
Reference in New Issue
Block a user