VMware Cloud Community
bdamian
Expert
Expert
Jump to solution

vRA 7.3 - Health Service - Rest API

Hi all,

In the vRA 7.3 what's new, there is a mention for the Health Service. It says that has a "REST API that Enables integration with third party tools".

I guess there is a GET operation that I can use to get the status of a Test. Anyone knows the URL for that API call?

Thanks a lot,

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
Tags (2)
0 Kudos
1 Solution
3 Replies
bdamian
Expert
Expert
Jump to solution

Hi nsb24,

I've checked out the templates but I cannot get with the right answer:

I know that I need a new token for the service, either with

/healthbroker-proxy-server/api/authn/normal

or

/healthbroker-proxy-server/api/authn/all

Then, I can call all of the following:

/health/result/overall-results?expand=true

/health/result/individual-result?expand=true

/health/result/overall-results/Report_xxxx

/health/exec/executions/xxxxx

But none of those shows me the name of the report I see in vRA console nor the summary like you can see in the screenshot:

pastedImage_0.png

Those calls return info that are almost useless for a human.

Any ideas?

Thanks a lot.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
nsb24
VMware Employee
VMware Employee
Jump to solution

Most likely you will be using filters in core/health-query-tasks

There is one example in the samples. You need to work your way through to get the proper query. Can you create an issue over github repo for your use case? This repo is from vmware, it will get internal team's traction to get you faster response and exact query you need.

0 Kudos