about summary refs log tree commit diff
path: root/app/views/api/v1/accounts/relationship.rabl
blob: 4f7763d9d0eff3b1647bbe37f5fc04e0a6d98049 (plain) (blame)
1
2
3
4
5
6
7
8
9
object @account

attribute :id
node(:following)       { |account| @following[account.id]       || false }
node(:followed_by)     { |account| @followed_by[account.id]     || false }
node(:blocking)        { |account| @blocking[account.id]        || false }
node(:muting)          { |account| @muting[account.id]          || false }
node(:requested)       { |account| @requested[account.id]       || false }
node(:domain_blocking) { |account| @domain_blocking[account.id] || false }