You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
object @notification
|
|
|
|
attributes :id, :type, :created_at
|
|
|
|
child from_account: :account do
|
|
extends 'api/v1/accounts/show'
|
|
end
|
|
|
|
node(:status, if: lambda { |n| [:favourite, :reblog, :mention].include?(n.type) }) do |n|
|
|
partial 'api/v1/statuses/show', object: n.target_status
|
|
end
|
|
|