Created 11-07-2017 12:28 AM
Created 11-07-2017 12:43 AM
@vrathod, if you are looking for all supported stacks for a given ambari release, you can try the getVersionDefinitions API with filters.
Created 11-07-2017 12:33 AM
This will give top level view of stacks available.
http://<host_ip>:8080/api/v1/stacks/
For HDP stack versions:
http://<host_ip>:8080/api/v1/stacks/HDP
Hope this helps.
Created 11-07-2017 12:43 AM
@vrathod, if you are looking for all supported stacks for a given ambari release, you can try the getVersionDefinitions API with filters.
Created 11-07-2017 12:50 AM
Thanks @kramakrishnan and @Swapan Shridhar
I was looking for something similar to what we see on Select Stack page.
http://<host_ip>:8080/api/v1/stacks/HDP was giving additional unsupported stacks but the below worked with filters http://<AMBARI_HOST>:8080/api/v1/version_definitions