Versioning and deprecation
Last updated:
What may change within an API version, what counts as breaking, and how much notice you get before an endpoint is removed.
How is the API versioned?
The major version is in the path: /v1. Within a version, PropVista only makes additive changes, which never need a new version:
- a new endpoint;
- a new optional query parameter or request field;
- a new field in a response;
- a new value in an enum;
- new wording in an error
message(itscodestays the same).
Write your integration to ignore fields and enum values it does not recognise.
What counts as a breaking change?
A breaking change ships only as a new major version (/v2). Breaking means:
- removing or renaming an endpoint, parameter or response field;
- changing a field's type, format or meaning;
- making an optional parameter required, or tightening its validation;
- changing the authentication, the scopes an endpoint needs, or the status or error code an existing call returns;
- changing pagination or ordering you can depend on.
How much notice do I get?
| Rule | Period |
|---|---|
| A deprecated endpoint keeps working after it is deprecated | At least 6 months |
| An old major version keeps working after the next one is generally available | 12 months |
How will I know an endpoint is deprecated?
Every response from a deprecated endpoint carries three headers, which browser callers can read too:
Deprecation: @1798761600
Sunset: Thu, 01 Jul 2027 00:00:00 GMT
Link: <https://propvista.io/docs/changelog>; rel="deprecation"Deprecation(RFC 9745): when it was deprecated, as@and Unix seconds.Sunset(RFC 8594): when it stops working.Link: the migration notes.
The endpoint is also marked deprecated in the API reference, listed in the changelog, and shown on the API usage page of your PropVista settings, with how often your keys still call it.
