API: Users
Get a single user
Path
GET
https://account.bugrocket.com/api/v1/users/user_id
Returns info about a user of your account.
Response
- X-RateLimit-Limit:
- 500
- X-RateLimit-Remaining:
- 499
- X-RateLimit-Wait:
- 0
- Content-Type:
- application/json; charset=utf-8
- Content-Length:
- 123
{
"id": "4e8c7a5d8c1b76650c000002",
"active": true|false,
"admin": true|false,
"name": "John Smith",
"email": "jsmith@example.com",
"last_login": "2012-01-03T23:07:18+00:00",
"timezone": "Eastern Time (US & Canada)",
# users' current filter settings
"auto_filter": {
"users": {
"assignee": [ 'user_id', ... ],
"reporter": [ 'user_id', ... ]
},
"priorities": [ 'high|normal|low', ... ],
"statuses": [ 'triage|assigned|qa', ... ],
"lists": [ 'list_slug', ... ]
},
# users' current profile settings
"settings": {
"history_order": "newest_at_top|newest_at_bottom",
"ticket_order": "newest_at_top|newest_at_bottom",
"auto_watch": "all|created|edited|none",
"watched_tags": "comma, separated, tags"
}
}
Get all users
Path
GET
https://account.bugrocket.com/api/v1/users
Returns info about all users in your account.
Response
- X-RateLimit-Limit:
- 500
- X-RateLimit-Remaining:
- 499
- X-RateLimit-Wait:
- 0
- Content-Type:
- application/json; charset=utf-8
- Content-Length:
- 123
[
{ user_hash },
...
]
Get administrator users
Path
GET
https://account.bugrocket.com/api/v1/users/admins
Returns info about all administrator users in your account.
Response
- X-RateLimit-Limit:
- 500
- X-RateLimit-Remaining:
- 499
- X-RateLimit-Wait:
- 0
- Content-Type:
- application/json; charset=utf-8
- Content-Length:
- 123
[
{ user_hash },
...
]
Get active users
Path
GET
https://account.bugrocket.com/api/v1/users/active
Returns info about all active users in your account.
Response
- X-RateLimit-Limit:
- 500
- X-RateLimit-Remaining:
- 499
- X-RateLimit-Wait:
- 0
- Content-Type:
- application/json; charset=utf-8
- Content-Length:
- 123
[
{ user_hash },
...
]
Get inactive users
Path
GET
https://account.bugrocket.com/api/v1/users/inactive
Returns info about all inactive users in your account.
Response
- X-RateLimit-Limit:
- 500
- X-RateLimit-Remaining:
- 499
- X-RateLimit-Wait:
- 0
- Content-Type:
- application/json; charset=utf-8
- Content-Length:
- 123
[
{ user_hash },
...
]