Add experimental server-side notification grouping (#29889)
This commit is contained in:
@@ -327,6 +327,18 @@ namespace :api, format: false do
|
||||
end
|
||||
end
|
||||
|
||||
namespace :v2_alpha do
|
||||
resources :notifications, only: [:index, :show] do
|
||||
collection do
|
||||
post :clear
|
||||
end
|
||||
|
||||
member do
|
||||
post :dismiss
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
namespace :web do
|
||||
resource :settings, only: [:update]
|
||||
resources :embeds, only: [:show]
|
||||
|
||||
Reference in New Issue
Block a user