Skip to content

API updates

Changes Kustom can make without a new API version and how to handle them in your integration.

Breaking changes require a new API version. The changes below can land in the current version.

  • Add optional or read-only fields.
  • Add a response body where there was none.
  • Add HTTP response headers or methods on existing resources.
  • Add enum values where the enum has a defined default.
  • Reorder fields in a JSON object.
  • Ignore unknown response fields. Read JSON fields by name, not by position.
  • Handle unknown enum values with a default branch.
  • Treat HTTP 2xx as success, 4xx as client errors and 5xx as server errors. Branch on a specific status only when your integration needs to.
  • Use error_code, not the wording of error_messages, to handle errors.

This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.