Fix #52 - Add API versioning (v1)
This commit is contained in:
parent
3f75f52285
commit
4f9b7432dd
53 changed files with 77 additions and 134 deletions
5
app/views/api/v1/accounts/relationship.rabl
Normal file
5
app/views/api/v1/accounts/relationship.rabl
Normal file
|
@ -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 }
|
Loading…
Add table
Add a link
Reference in a new issue