Skip to content
Snippets Groups Projects

Create initial Tanuki bot api endpoint

Merged Terri Chu requested to merge tchu-bot-create-new-api into master
2 files
+ 40
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 5
0
@@ -86,6 +86,11 @@
get 'search/aggregations' => 'search#aggregations', as: :search_aggregations
end
# Tanuki Bot
Gitlab.ee do
post 'tanuki_bot/ask' => 'llm/tanuki_bot#ask', as: :tanuki_bot_ask, constraints: { format: :json }
end
# JSON Web Token
get 'jwt/auth' => 'jwt#auth'
post 'jwt/auth', to: proc { [404, {}, ['']] }
Loading