Data Versions
GET We offer an API endpoint to help you find the latest major and minor data versions. Read more about Data Versioning concept here
Request
curl --request GET \ --url https://beta4.api.climatiq.io/data-versions \ --header 'Authorization: Bearer API_KEY'
Response
{ "latest": "4.4", "latest_major": 4, "latest_minor": 4}
Using this response, you can:
- Use the value of
latest_major
with a caret (^) in front of it if you want the latest major-compatible version. - Use the value of
latest
if you want the latest major-minor data version. - Use the
latest_minor
to get updates for a previous major version you are using.