Deployments
Get a deploy list or deploy details
bash
curl -u AUTH_TOKEN: https://app.honeybadger.io/v2/projects/ID/deploys
curl -u AUTH_TOKEN: https://app.honeybadger.io/v2/projects/ID/deploys/ID
Returns a list of deploys or a single deploy for the given project with the following format:
json
{
"created_at": "2013-04-30T13:12:51Z",
"environment": "production",
"local_username": "deploy",
"project_id": 1,
"repository": "some/repo",
"revision": "2013-04-29-take-2-16-g6cf7eae"
}
The deploy list can be filtered with a number of URL parameters:
Parameter | Description |
---|---|
environment | A string with the desired environment, e.g., 'production' |
local_username | Username of the person doing the deployment |
created_after | A Unix timestamp (number of seconds since the epoch) |
created_before | A Unix timestamp (number of seconds since the epoch) |
limit | Number of results to return (max and default are 25) |
The deploy list is always ordered by creation time descending.
Delete a deploy
bash
curl -u AUTH_TOKEN: -X DELETE https://app.honeybadger.io/v2/projects/ID/deploys/ID