/api/public/v1. Within v1, changes are additive only:
- new endpoints,
- new optional parameters,
- new fields in HTTP responses and webhook payloads,
- new values where a field lists its values, such as a new event or a new error code.
How a deprecation is announced
From the day of the deprecation, every HTTP response from the affected endpoint carries these headers:
A client that logs a warning whenever an HTTP response has a
Deprecation header learns about a change long before its sunset. Every deprecation is also listed in the developer changelog.
No part of v1 is deprecated.
Webhook payloads
A webhook delivery is{ id, type, createdAt, data }, where data is the Response resource, or the spike on theme.spiking. These four keys stay the same within v1. New fields can appear in data, and new event types can be added, so a receiver should check type, or the X-Usertick-Event header, before handling a delivery.