VMware Cloud Community
JPerf
Contributor
Contributor

How to check if vCloud Director 9 API is working...

Hi,

I have a problem to connect vCD9 HTTPS REST API base URL with Veeam B&R 9.5 as a vCloud backup,

cell working directly,

throught tool "Postman" returns POST/GET call without any error (Status is 200 OK)

but "HTTPS REST API base URL"  example -> https://<vcd-public-FQDN>/API 

or https://<vcd-public-FQDN>/API/Versions, ... API is not reasonable ?

returns blank page with error (Status 404 Not Found)

is this networking problems ?

or how to I check if in vCD9 REST API is working correct on vCD9

BTW

on vCD 5.5 all working perfect - network settings on all vDC is identical

THX

Julius

Reply
0 Kudos
4 Replies
vMarkusK1985
Expert
Expert

The normal behavior is that "https://<FQDN>/api/versions" returns a XML file. Even with a browser.

https://mycloudrevolution.com | https://twitter.com/vMarkus_K | https://github.com/vMarkusK
Reply
0 Kudos
JPerf
Contributor
Contributor

Yes,

only after first step - authentication, vCD API send XML fiel,

but https://<FQDN>/api/versions returns status -  "404 Not found"

I don´t know what can I do....

J.Kovac

Reply
0 Kudos
vMarkusK1985
Expert
Expert

Is your vCD Configuration of the public addresses correct? Only via this address the API can be accessed.

https://mycloudrevolution.com | https://twitter.com/vMarkus_K | https://github.com/vMarkusK
Reply
0 Kudos
jonathanw
Enthusiast
Enthusiast

Reading your original question - be careful with the case of your request as these are case-sensitive:

<vCD FQDN>/API/versions - is not valid.

<vCD FQDN>/api/versions - is valid