/v2/.
Current version
v2 is the current stable version for the Trade API, Copytrade API, and combos. The Data API is unversioned in path and follows the same policy.Backwards-compatibility guarantees
Within a major version, Bravado makes only additive changes:- New endpoints.
- New optional request fields.
- New response fields.
- New allowed values on existing enums, only when the semantic change is safe for existing clients.
- New response headers.
- New HTTP status codes on new failure modes.
v3).
What is considered breaking
- Removing an endpoint.
- Removing a request or response field.
- Changing the type of a request or response field.
- Making an optional request field required.
- Changing the semantics of an existing field.
- Removing an enum value.
Deprecation policy
When an endpoint or field is scheduled for removal in a future major version, Bravado:- Announces the deprecation in the Changelog.
- Emits a
DeprecationandSunsetheader on responses to the deprecated endpoint. - Keeps the deprecated endpoint working for at least a notice period before removal.
Deprecation headers
Deprecationsignals the endpoint is scheduled for removal.Sunsetgives the date after which the endpoint may return410 Gone.Linkwithrel="successor-version"points to the replacement endpoint when one exists.
Deprecation: true is observed and open a migration issue against the successor.
Version support horizon
Related
- Changelog for the dated list of changes and deprecations.
- Status and uptime for platform incidents that may affect API behavior.