New API method: /api/v1/search
Returns accounts, statuses, hashtags arrays
This commit is contained in:
parent
98571b0ce4
commit
05cf086766
9 changed files with 99 additions and 17 deletions
|
@ -129,6 +129,8 @@ Rails.application.routes.draw do
|
|||
get '/timelines/public', to: 'timelines#public', as: :public_timeline
|
||||
get '/timelines/tag/:id', to: 'timelines#tag', as: :hashtag_timeline
|
||||
|
||||
get '/search', to: 'search#index', as: :search
|
||||
|
||||
resources :follows, only: [:create]
|
||||
resources :media, only: [:create]
|
||||
resources :apps, only: [:create]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue