diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 2c8ac1cff..6893aa06b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -106,6 +106,15 @@ Rails.application.routes.draw do # OEmbed get '/oembed', to: 'oembed#show', as: :oembed + # ActivityPub + namespace :activitypub do + get '/users/:id/outbox', to: 'outbox#show', as: :outbox + + get '/statuses/:id', to: 'activities#show_status', as: :status + + resources :notes, only: [:show] + end + # JSON / REST API namespace :v1 do resources :statuses, only: [:create, :show, :destroy] do |