mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Merge commit '5652ca613582df03e5b838626078981414f3b897' into glitch-soc/merge-upstream
This commit is contained in:
@@ -40,6 +40,7 @@ namespace :api, format: false do
|
||||
resource :direct, only: :show, controller: :direct
|
||||
resource :home, only: :show, controller: :home
|
||||
resource :public, only: :show, controller: :public
|
||||
resource :link, only: :show, controller: :link
|
||||
resources :tag, only: :show
|
||||
resources :list, only: :show
|
||||
end
|
||||
@@ -329,6 +330,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