Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Is there a rest API call in ambari to get all the supported OSes for a given stack?

avatar
New Member
 
1 ACCEPTED SOLUTION

avatar
New Member

@vrathod, if you are looking for all supported OS for a stack for a given ambari release, you can try the getVersionDefinitions API with filters.

E.g http://<AMBARI_HOST>:8080/api/v1/version_definitions?fields=VersionDefinition/stack_default,operatin...

Hope this helps!

View solution in original post

2 REPLIES 2

avatar
New Member

@vrathod, if you are looking for all supported OS for a stack for a given ambari release, you can try the getVersionDefinitions API with filters.

E.g http://<AMBARI_HOST>:8080/api/v1/version_definitions?fields=VersionDefinition/stack_default,operatin...

Hope this helps!

avatar
New Member

This helps. Thanks @kramakrishnan