Merge commit 'a324edabdf' into upstream-20250416

This commit is contained in:
KMY 2025-04-24 07:27:26 +09:00
commit 94eb912030
71 changed files with 513 additions and 141 deletions

View file

@ -205,6 +205,7 @@ namespace :api, format: false do
resources :circles, only: :index
resources :identity_proofs, only: :index
resources :featured_tags, only: :index
resources :endorsements, only: :index
end
member do
@ -218,8 +219,10 @@ namespace :api, format: false do
end
scope module: :accounts do
resource :pin, only: :create
post :unpin, to: 'pins#destroy'
post :pin, to: 'endorsements#create'
post :endorse, to: 'endorsements#create'
post :unpin, to: 'endorsements#destroy'
post :unendorse, to: 'endorsements#destroy'
resource :note, only: :create
end
end