1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-24 11:38:37 +09:00
YuruToot/app/views/api/v1/search/index.rabl

14 lines
232 B
Plaintext
Raw Normal View History

object @search
2017-03-22 12:09:09 +09:00
child :accounts, object_root: false do
extends 'api/v1/accounts/show'
end
node(:hashtags) do |search|
search.hashtags.map(&:name)
end
2017-03-22 12:09:09 +09:00
child :statuses, object_root: false do
extends 'api/v1/statuses/show'
end