API V2 vs V3 | Nutanix Community
Skip to main content

If the clusters are related with prism central (so I should use v3), Can i use v2 to actions like: manage NIC, Attach/Detach Disks, manage snapshots from API v2?

Is recovery plans is the same as snapshots here? I want to create jobs for automatic snapshots, but I do not see thios possibility in v2

I am using the same account for api v2 and v3 actions, in production environment with my own IP, it will be the same host? It is specified in API Documentation, but I want to be sure if the host for both will be the same - eg. nutanixtest.com/v2… and nutanixtest.com/v3…

Thanks!

Hi AndMG,

 

PC works with APIv3 only. You can still use v2 and even v1 but the calls would have to be directed at PE instead of PC.

A recovery plan is similar to a snapshot schedule in that it is a DR tool that enables you to protect VMs between sites. A recovery point is a similar term to the snapshot.

You can add a snapshot schedule with APIv2 post /protection_domains/{name}/schedules.

Let me know if that helps.

 


In case it helps, there’s an article on www.nutanix.dev that covers a lot of the “what to use” and “when to use” questions.

 

Please see here: Nutanix API versions – What are they and what does each one do?