Homebrew Cask Version only shows lowest on /cask json API

I like to use the API for cask json at https://formulae.brew.sh/cask/.json but when a Cask has multiple versions defined (depending on the variables defined) it is impossible to get a read on the versions available.

For example: evernote.rb has its version section defined like this

  if MacOS.version <= :mavericks
    version '6.8_453748'
    sha256 '53fb93884fbd8f966ef43248dad3a7570ad18eb43fd289ad614ee8cff3a26d33'
  elsif MacOS.version <= :yosemite
    version '6.12.3_455520'
    sha256 'fdda9701f1d8ff56a5e8bcadcf5b04dba66ad7e08511700de4675d20fda2bc71'
  elsif MacOS.version <= :el_capitan
    version '7.2.3_456885'
    sha256 'eb9a92d57ceb54570c009e37fa7657a0fa3ab927a445eef382487a3fdde6bb97'
  else
    version '7.12_457935'
    sha256 '3224ea9b4af42c3b95c4fe29cb0c769814f0a93bbeeba05827c03292c6742931'
  end

When I hit the API - and as printed on the page itself - the version comes up as 6.8_453748. This is not correct for any version above mavericks.

Is there a way to get the version of the cask available by passing something to the API or potentially to brew cask itself to get the correct version based on the version of macOS?