API versioning allows Jobber to continuously evolve our platform and capabilities while offering third-party developers a predictable path for feature upgrades and deprecations.
To specify a version, you must use the X-JOBBER-GRAPHQL-VERSION
HTTP header
and set it to one of our
active versions. Specifying a version in
the header is required for all apps.
The response will include information about the API version your request is making.
warning
will be returned with information on when the version will be
removed.version
key.Version information is found under the extensions
key:
"versioning": {
"version": "2022-04-29",
"warning": "API version 2022-04-29 is scheduled to be removed on May 13, 2023, please upgrade as soon as possible.
For more information: https://developer.getjobber.com/docs/using_jobbers_api/api_versioning"
}
We recommend you use the most recent active API version to benefit from bug fixes and schema improvements.
To upgrade to a newer API version, consult the changelog to look for any breaking changes, which could impact your application. If you're using automatic code generation and type checking (such as with codegen), it could provide hints to what has broken.
In some cases, we will deprecate fields before they're removed and give alternate fields, which could satisfy your use case.
Once you've confirmed the new version works with your application (through
manual and automated testing), update the X-JOBBER-GRAPHQL-VERSION
header
value in your production environment.