feat: Add ability to resolve API channel conversations (#8348)

- Create a new endpoint to fetch a single conversation in client apis
- Create a new endpoint to resolve a single conversation in client apis
- Update swagger API definition to include missing endpoints

Fixes: #6329

Co-authored-by: Cristian Duta <Cristian.Duta@ti8m.ch>
This commit is contained in:
CristianDuta
2024-02-21 13:11:20 +01:00
committed by GitHub
parent cc47ccaa2c
commit ebae547a60
11 changed files with 298 additions and 4 deletions

View File

@@ -366,8 +366,9 @@ Rails.application.routes.draw do
resources :inboxes do
scope module: :inboxes do
resources :contacts, only: [:create, :show, :update] do
resources :conversations, only: [:index, :create] do
resources :conversations, only: [:index, :create, :show] do
member do
post :toggle_status
post :toggle_typing
post :update_last_seen
end