Comment 4 for bug 1557451

Revision history for this message
Andres Rodriguez (andreserl) wrote :

I don't think it is required for Juju to have a version endpoint exposing the API version. Why?

juju is told that MAAS is in http://<ip-maas>/MAAS and then juju automatically assumes you are using /MAAS/api/1.0 . However, since juju is being told /MAAS , then Juju could check /MAAS/api/1.0 , if that returns null or non existant, then it could assume it is using /MAAS/api/2.0 .

That being said, users should still be able to input http://ip-of-maas/MAAS/api/1.0 (or 2.0) and it should just work.