Comments API reference
Get a comment list or comment details
Section titled “Get a comment list or comment details”curl -u AUTH_TOKEN: https://app.honeybadger.io/v2/projects/ID/faults/ID/commentscurl -u AUTH_TOKEN: https://app.honeybadger.io/v2/projects/ID/faults/ID/comments/IDReturns a list of comments or a single comment for the given fault with the following format:
{ "id": 14, "fault_id": 2, "event": null, "source": "unknown", "notices_count": 0, "created_at": "2012-08-22T15:47:26Z", "author": "Inigo", "body": "You killed my father; prepare to die"}Create a comment
Section titled “Create a comment”curl -u AUTH_TOKEN: -X POST -H 'Content-type: application/json' -d '{"comment":{"body":"My comment"}}' https://app.honeybadger.io/v2/projects/ID/faults/ID/commentsThe body field is the only field that can be included in the payload.
Update a comment
Section titled “Update a comment”curl -u AUTH_TOKEN: -X PUT -H 'Content-type: application/json' -d '{"comment":{"body":"Updated comment"}}' https://app.honeybadger.io/v2/projects/ID/faults/ID/comments/IDDelete a comment
Section titled “Delete a comment”curl -u AUTH_TOKEN: -X DELETE https://app.honeybadger.io/v2/projects/ID/faults/ID/comments/ID