2017-03-21 18:32:27 -07:00
|
|
|
object @search
|
|
|
|
|
2017-03-21 20:09:09 -07:00
|
|
|
child :accounts, object_root: false do
|
2017-03-21 18:32:27 -07:00
|
|
|
extends 'api/v1/accounts/show'
|
|
|
|
end
|
|
|
|
|
|
|
|
node(:hashtags) do |search|
|
|
|
|
search.hashtags.map(&:name)
|
|
|
|
end
|
|
|
|
|
2017-03-21 20:09:09 -07:00
|
|
|
child :statuses, object_root: false do
|
2017-03-21 18:32:27 -07:00
|
|
|
extends 'api/v1/statuses/show'
|
|
|
|
end
|