Add basic OEmbed provider API, fix #247
This commit is contained in:
parent
14bd46946d
commit
6ff93845d5
7 changed files with 65 additions and 0 deletions
|
@ -60,6 +60,9 @@ Rails.application.routes.draw do
|
|||
# Salmon
|
||||
post '/salmon/:id', to: 'salmon#update', as: :salmon
|
||||
|
||||
# OEmbed
|
||||
get '/oembed', to: 'oembed#show', as: :oembed
|
||||
|
||||
# JSON / REST API
|
||||
namespace :v1 do
|
||||
resources :statuses, only: [:create, :show, :destroy] do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue