Also, just to expand: My queries work when I paste them into my browser, I was probably having some unity specific issue. No idea what.
Regardless, I'm still unclear if the version check is possible at all. You mention the "/latest" endpoint but I can not find it in the documentation?