Skip to main content

Hello,

I’ve been trying to begin my journey with APIs. After some reading and cross-checking with my feature requirements I decided to use APIv4 (as v3 doesn’t allow interacting with Templates, for example).

For all I know (someone please correct me if I’m wrong) my current version of Prism Central [pc.7.3.0.6] as well as other components, like AHV [10.3.0.1] or AOS [7.3.0.5] should allow for apiv4 calls. Checking “about Nutanix” link in Prism Element gives out “Version 7.3.0.5 - STARTER License” but this starter license should allow for apiv4 - the internet says. Unfortunately all I can get at the moment is api v1,v2 and v3 and no there are no api v4 endpoints available at all.

Can someone please tell me what’s going on? I’ve even started Prism upgrade from 7.3.0.5 to 7.3.0.6 to then go to 7.3.1 hoping that maybe the update will enable api v4, but the more I read about this the more I think this won’t resolve my issue.

Thanks!

You won’t find v4 endpoints in the REST API explorer because they are not published there.

You need to use the online doc (nutanix.dev) and then address them directly with an SDK or any REST client.


Thanks! I got the doc for APIv4 no problem. The trouble I had was that at first I could not make a successful APIv4 call because I wasn’t authenticated. Then I was looking for a APIv4 auth call, which doesn’t seem to exist. I’m new to API and programming and it just occurred to me last night that I can use APIv3 to auth and then APIv4 to interact with prism, like list vms, templates, etc.

PEBCAK

Thanks for your input anyway!