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