API: History
Get a single history item
Path
GET
https://account.bugrocket.com/api/v1/projects/proj_slug/tickets/num/history/id
Returns info about a history item for a given ticket.
Response
- X-RateLimit-Limit:
- 500
- X-RateLimit-Remaining:
- 499
- X-RateLimit-Wait:
- 0
- Content-Type:
- application/json; charset=utf-8
- Content-Length:
- 123
{
"id": "4ecd33250e7d8a1102000003", # unique id for the item
"user_id": "4e8c7a5d8c1b76650c000002", # user_id making the change
"created_at": "2011-11-23T12:53:41-05:00",
"updated_at": "2011-11-23T12:53:41-05:00",
"archived": true|false, # collapsed and de-emphasized in the UI
"comment": "
[markdown](http://daringfireball.net/projects/markdown/) _plain_
*text* of the user's comment (also may include Bugrocket
comment extensions like [ticket:1])
",
# the following keys:
# assignee - ticket assignee was changed
# list - ticket was moved to a new list
# status - ticket status was changed
# priority - ticket priority was changed
# reason - ticket closure reason was changed/added
#
# will all either be null or of the following form:
"key": {
"from": "old_value",
"to": "new_value"
}
# the old/new values will correspond to what you probably
# expect, making it possible and straight-forward to find
# the things referenced (values, slugs, ids as appropriate)
}
Get all history items
Path
GET
https://account.bugrocket.com/api/v1/projects/project_slug/tickets/num/history
Returns info about all history_items for a given ticket.
Response
- X-RateLimit-Limit:
- 500
- X-RateLimit-Remaining:
- 499
- X-RateLimit-Wait:
- 0
- Content-Type:
- application/json; charset=utf-8
- Content-Length:
- 123
[
{ item_hash },
...
]