0

API feature request: get latest API version

It would be nice to have a version-agnostic API call that simply returns the latest version of the API. This would make it possible to always use the latest API version without hardcoding it, so that any function that you write is reusable with the latest enhancements.

This would be particularly useful with VQL, where the API call remains the same, but new VQL features are added in newer versions (and only affect the call parameters). So, if I write a function that executes a VQL query, I can always use the same code, not matter what version supports my actual query.

2 comments

Please sign in to leave a comment.