Aller au contenu principal

API Versioning Policy

The GpkeysBot Customer API uses explicit URL path versioning (/api/v1).

Compatibility Guarantees​

Within major version v1:

  • Non-breaking additions: Adding optional response JSON fields, new catalog deliveryType values, new metered actionType options, or new non-breaking query parameters does not trigger a major version bump. Clients should ignore unknown JSON properties in responses.
  • Breaking changes: Removing required response fields, changing monetary formatting from fixed-point strings, altering error.code names, or modifying endpoint semantics requires a new major path version (e.g., /api/v2).
  • Strict request validation: Note that request payloads enforce additionalProperties: false—always omit undocumented request fields so requests do not fail with 400 VALIDATION_ERROR.

Deprecation Notice​

TODO(verify) — Sunset & Deprecation Window: Confirm the formal deprecation notice period (for example, 90 days via changelog and Deprecation/Sunset headers) with the backend operations team. See OPEN_QUESTIONS.md.