Comment on page
API Version History
This page describes changes made to the API and potential migration strategies if required.
We treat the API as first class part of our product and are looking forward to any customer or partner that decides to integrate with us, which is why we are taking API versioning and preventing breaks or interruptions very seriously.
We try to prevent breaking changes for our API, however sometimes these are necessary in an evolving world and product space.
We consider the following changes to be backwards-compatible:
- Adding new API resources
- Adding new optional request parameters to existing API methods
- Adding new properties to existing API responses
- Changing the order of properties in existing API responses
While renaming incidents to alerts in October 2021 we dediced that the best way to migrate the API to the new resources and fields was to introduce a new API version, however continuing further we did not want to stick to versioning through url paths in favor of developer experience. Which is why we decided to migrate the new resources away from the version path.
All old resources running on
/v1/...are still available. Meaning the new resource and fields that are now available under e.g.
/api/alert-sourcesare still available in their old format under
Integrations that have been developed using the old API version do not have to be migrated, the v1 resources are still available. When developing new integrations however, make sure to use the new resources - which is also why we have removed any old endpoint from our API documentation.
In September 2021 we announced that we would rename incidents to alerts. Explaining that incidents would be reborn as new entity for the next big product extension incident communication v2 and status pages. Of course this also required us to change the API resources.
/api/incidentswill hold the new entity.
The old incident endpoints
/api/v1/incidentsis still available and delivers the old/new incident/alert objects.
Integrations that have been developed using the old API version to not have to be migrated, the v1 resources are still available. When developing new integrations however, make sure to use the new resources. Please also note: that for the new API (all resources without url versioning) the entities might contain changed field names e.g.
AlertSource.alertCreationa few fields were subject to this change our API docs are already reflecting this change, you can find them below.
In June 2020 we decided to deprecate XML support for request and response schemas, as JSON was widely preferered by our customers. We began removing support from older
/v1/...endpoints in August 2020. XML is not supported in new url version-less resources as of 2021.
Resources containing v1 in their url that were receiving XML traffic were kept available.
We suggest to send the
accept: application/jsonheader and providing
content-type: application/jsonwhile switching your clients to JSON processing.