mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Add API endpoints to view and revoke one's quoted posts (#35578)
This commit is contained in:
parent
572a0e128d
commit
2dfdcc7dcb
10 changed files with 324 additions and 0 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue