I didn't see this in the API explorer, but was wondering if there is a API endpoint to check what versions of the API are supported for a given Prism instance now that there are at least 4 versions of the API (0.8, 1, 2.0, 3)? Typically REST API's do this through an un-versioned enpoint such as "/version". Any chance something like this exists?
Best answer by ckousoulis
Yes, we're tracking the introduction of a "versions" API that sits outside of the namespace of any particular API suite. Product and API documentation describes which APIs are supported for public use, so that's your best way to determine what to code against. For now, v2 should be used against a cluster for cluster management operations, and v3 should be used against Prism Central for datacenter management operations. We're looking at service discovery as well as versioning for an API that sits outside a specific suite, which is why we haven't yet introduced a generic versions API that just points to v2/v3.