diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-27 16:58:23 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-27 16:59:08 +0200 |
commit | 4f9b7432dd4d323ac6cc4efceeae2efaffe62e7d (patch) | |
tree | acae9e59bd6971885f7cb7b7ed45c4c9d1af4fca /app/views/api/v1/accounts/relationship.rabl | |
parent | 3f75f522856954690d92358107e78bafd0db0baa (diff) |
Fix #52 - Add API versioning (v1)
Diffstat (limited to 'app/views/api/v1/accounts/relationship.rabl')
-rw-r--r-- | app/views/api/v1/accounts/relationship.rabl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/api/v1/accounts/relationship.rabl b/app/views/api/v1/accounts/relationship.rabl new file mode 100644 index 000000000..3e5bf882c --- /dev/null +++ b/app/views/api/v1/accounts/relationship.rabl @@ -0,0 +1,5 @@ +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 } |