mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-20 01:03:17 +00:00
Experimental Async Refreshes API (#34918)
This commit is contained in:
parent
825312d4b0
commit
319fbbbfac
11 changed files with 437 additions and 13 deletions
|
|
@ -4,6 +4,11 @@ namespace :api, format: false do
|
|||
# OEmbed
|
||||
get '/oembed', to: 'oembed#show', as: :oembed
|
||||
|
||||
# Experimental JSON / REST API
|
||||
namespace :v1_alpha do
|
||||
resources :async_refreshes, only: :show
|
||||
end
|
||||
|
||||
# JSON / REST API
|
||||
namespace :v1 do
|
||||
resources :statuses, only: [:index, :create, :show, :update, :destroy] do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue