API: Account

Get your account info

Path

GEThttps://account.bugrocket.com/api/v1/account

Returns info about your account, its standing, and so on.

Response

X-RateLimit-Limit:
500
X-RateLimit-Remaining:
499
X-RateLimit-Wait:
0
Content-Type:
application/json; charset=utf-8
Content-Length:
123
{
  "created_at": "2011-10-05T11:40:13-04:00",
  "updated_at": "2012-02-12T14:33:13-05:00",
  "trial_remaining": 10, # if account is not subscribed
  "name": "account",
  # if account is subscribed, you get the following
  "plan": {
    "id": "large2012",
    "display": "Large Plan",
    "price": 45,
    "next_billing_date": "2012-01-12",
    "past_due_since": "2012-01-01", # if account is past-due
    "quota": {
      "active_users": null,
      "projects": null,
      "storage": null
    },
    "quota_used": {
      "storage": 102400, # integer in bytes (eg. here we have 100KB)
      "active_users": 5,
      "projects": 3
    },
    "features": {
      "acl": true|false
    }
  }
}