Add API endpoints to view and revoke one's quoted posts (#35578)

This commit is contained in:
Claire 2025-07-31 11:36:51 +02:00 committed by GitHub
parent 572a0e128d
commit 2dfdcc7dcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 324 additions and 0 deletions

View file

@ -18,6 +18,12 @@ namespace :api, format: false do
resource :reblog, only: :create
post :unreblog, to: 'reblogs#destroy'
resources :quotes, only: :index do
member do
post :revoke
end
end
resource :favourite, only: :create
post :unfavourite, to: 'favourites#destroy'