Deploy tracking API

Notify Bugsnag about any new deploys or releases of your applications.

The deploy tracking API has been deprecated and replaced with the Build API.

By sending the source revision or application version when you deploy a new version of your app, you’ll be able to see which deploy each error was introduced in.

API overview

If you are using a custom notifier, or your notifier does provide appropriate
deploy tracking hooks, you can notify Bugsnag of deploys of your application
using the deploy tracking API described here. To notify Bugsnag of deploys,
simply make a HTTP POST to https://notify.bugsnag.com/deploy and Bugsnag will
save and process the deploy information.

The POST payload can either be normal form-encoded data, or a JSON object. If
you choose to POST a JSON object, make sure you set the HTTP Content-Type
header to be application/json.

You can post the following fields when notifying Bugsnag of a deploy:

apiKey

The API Key associated with the project. Informs Bugsnag which project
has been deployed. This is the only required field.

releaseStage

The release stage (eg, production, staging) currently being deployed.
(Optional, defaults to production.)

repository

The URL of the repository containing the source code being deployed.
We can use this to link directly to your source code on
GitHub, Bitbucket
or GitLab from the Bugsnag dashboard. (Required for source code integration.)

provider

The name of your source control provider. Required when repository is supplied and only for on-premise services
(for cloud services the provider will be derived from the URL.)