This article describes the backwards compatibility policies for the Wazoku Open API.
As our Open API evolves, Wazoku will make reasonable efforts to notify you of breaking changes in advance with sufficient time to adapt to these changes. However, we may make changes without prior notice if the change is considered non-breaking, or if it is a breaking change being made to address critical product bugs or legal, security or privacy concerns.
A breaking change is a change that may require you to make changes to your application in order to avoid disruption to your integration. The following are a few examples of changes we consider breaking:
1. Change or Remove an authentication mechanism
2. Renaming a response field
3. Addition of a required parameter without default values
4. Change in functionality of an endpoint. For example, if a DELETE request previously used to archive the resource but now hard deletes the resource.
5. Introduction of new validation mechanism such that a previously accepted input is now rejected
6. Removal of any HTTP methods for a resource endpoint
A non-breaking change is a change that you can adapt to at your own discretion and pace without disruption. In most cases, we will communicate non-breaking changes after they are already made. Please ensure that your application is designed to be able to handle the following types of non-breaking changes without prior notice from Wazoku:
1. Addition of new endpoints
2. Addition of new methods to existing endpoints
3. New fields in responses
4. New optional request fields or parameters
5. New required request fields that have default values
6. Addition of a new value returned for an existing text field
7. Changes to the order of fields returned within a response
8. Addition of an optional request header
9. Removal of redundant request header
10. Changes to the length of data returned within a field
11. Changes to the overall response size
12. Changes to error messages. We do not recommend parsing error messages to perform business logic. Instead, you should only rely on HTTP response codes and error codes.
13. Fixes to HTTP response codes and error codes from incorrect code to correct code
Whenever a breaking change or a non-backward compatible change is made to the Wazoku Open API, a new version will be introduced. Earlier versions will continue to function and will be deprecated and decommissioned according to the deprecation policy.
Wazoku Open API versions being decommissioned will be marked with Deprecation HTTP response header in line with the IETF guideline. The form of the deprecation header will be Deprecation: version="version", date="<deprecation date>". Any deprecated Open API versions will be available and supported in its original form for 6 months before it is decommissioned. Clients will also be notified using a mailing list and are encouraged to subscribe to the mailing list.