-
mikkeland
- Influencer
- Posts: 16
- Liked: 3 times
- Joined: Nov 15, 2012 3:56 pm
- Full Name: Mikkel Andreasen
- Contact:
Getting started with the Veeam REST API for Nutanix
Hi,
I'm getting started with the REST API for Nutanix, but have some issues getting off the ground.
According to the v8 API reference i need to connect to https://<hostname>/extension/799a5a3e-ae1e-4eaf-86eb-8a9acc2670e2/api/v8 and this is where I'm hitting a roadblock.
My Veeam server is not listening on port 443.
I can connect (and authenticate) to the regular Veeam API on port 4129 just fine, but cannot seem to figure out the connection to the Nutanix specific API.
I've tried the Nutanix/Veeam proxy which does have a listen on port 443, but that appears to not working.
My simple goal is to get a list of jobs with the current status and a list of (un)protected VMs
Pretty sure it's a simple thing I'm missing.
/mikkel
I'm getting started with the REST API for Nutanix, but have some issues getting off the ground.
According to the v8 API reference i need to connect to https://<hostname>/extension/799a5a3e-ae1e-4eaf-86eb-8a9acc2670e2/api/v8 and this is where I'm hitting a roadblock.
My Veeam server is not listening on port 443.
I can connect (and authenticate) to the regular Veeam API on port 4129 just fine, but cannot seem to figure out the connection to the Nutanix specific API.
I've tried the Nutanix/Veeam proxy which does have a listen on port 443, but that appears to not working.
My simple goal is to get a list of jobs with the current status and a list of (un)protected VMs
Pretty sure it's a simple thing I'm missing.
/mikkel
-
mikkeland
- Influencer
- Posts: 16
- Liked: 3 times
- Joined: Nov 15, 2012 3:56 pm
- Full Name: Mikkel Andreasen
- Contact:
Re: Getting started with the Veeam REST API for Nutanix
Should probably add that this is a fully updated v12.3 running ong Windows Server 2025 
-
ronnmartin61
- Veeam Software
- Posts: 646
- Liked: 243 times
- Joined: Mar 07, 2016 3:55 pm
- Full Name: Ronn Martin
- Contact:
Re: Getting started with the Veeam REST API for Nutanix
@mikkeland in terms of the overall process you'll need to authenticate to the standard VBR RestAPI via port 9419 e.g. https://hostnameorip:9419/api/oauth2/token and then like you note hit 443 with the access token for remaining calls e.g. https://hostnameorip/extension/799a5a3e ... properties
Please refer to https://helpcenter.veeam.com/references ... ctionAbout for details. Also note that the Nutanix RestAPI is not in a very complete state at the moment with the functional merge into core VBR. This is something we're actively working on but had to defer in order to complete the migration into VBR and support v13.
Please refer to https://helpcenter.veeam.com/references ... ctionAbout for details. Also note that the Nutanix RestAPI is not in a very complete state at the moment with the functional merge into core VBR. This is something we're actively working on but had to defer in order to complete the migration into VBR and support v13.
-
ronnmartin61
- Veeam Software
- Posts: 646
- Liked: 243 times
- Joined: Mar 07, 2016 3:55 pm
- Full Name: Ronn Martin
- Contact:
Re: Getting started with the Veeam REST API for Nutanix
@mikkeland apologies as I didn't see you added this was VBR 12.3. Please refer to this guide for the RestAPI support you're looking for - https://helpcenter.veeam.com/references ... ctionAbout
-
mikkeland
- Influencer
- Posts: 16
- Liked: 3 times
- Joined: Nov 15, 2012 3:56 pm
- Full Name: Mikkel Andreasen
- Contact:
Re: Getting started with the Veeam REST API for Nutanix
I've made some progress, mostly by reading https://github.com/mcruise40/Veeam-NutanixAhv/tree/main
- I need to connect and authenticate to the Veeam proxy running as a VM in Nutanix. Makes sense.
- I get the access token (and refresh token and exipries)
Access established and now the parsing of the response will be the next challenge.
What initially threw me off was v7 vs. v8 and once i settled on v7 i made a bone headed mistake in the syntax for the auhtorization header. Live and learn ...
/Mikkel
- I need to connect and authenticate to the Veeam proxy running as a VM in Nutanix. Makes sense.
- I get the access token (and refresh token and exipries)
Access established and now the parsing of the response will be the next challenge.
What initially threw me off was v7 vs. v8 and once i settled on v7 i made a bone headed mistake in the syntax for the auhtorization header. Live and learn ...
/Mikkel
-
ronnmartin61
- Veeam Software
- Posts: 646
- Liked: 243 times
- Joined: Mar 07, 2016 3:55 pm
- Full Name: Ronn Martin
- Contact:
Re: Getting started with the Veeam REST API for Nutanix
Feel free to check out this Git site also - https://github.com/VeeamHub/veeam-nutanix
Who is online
Users browsing this forum: No registered users and 30 guests