mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
05cf086766
Returns accounts, statuses, hashtags arrays
14 lines
212 B
Ruby
14 lines
212 B
Ruby
object @search
|
|
|
|
child accounts: :accounts do
|
|
extends 'api/v1/accounts/show'
|
|
end
|
|
|
|
node(:hashtags) do |search|
|
|
search.hashtags.map(&:name)
|
|
end
|
|
|
|
child statuses: :statuses do
|
|
extends 'api/v1/statuses/show'
|
|
end
|