Created on 07-24-2019 11:50 AM - edited 08-17-2019 04:36 PM
Dear all , nice to be here , with all professional folks
we have ambari server , and all services shown from "Add Service Wizard"
as click on actions button , and click on "+add Service"
there we can found all available services
so now
how to get all these services list by API
Created 07-24-2019 11:00 PM
This API call should do the magic, remember to substitute the values with your actual cluster values
curl -u {ambari-username}:{ambari-password} -H "X-Requested-By: ambari" -X GET http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/services
Hope that helps please revert
Created 07-24-2019 04:33 PM
any answer for my question ?
Created 07-24-2019 11:00 PM
This API call should do the magic, remember to substitute the values with your actual cluster values
curl -u {ambari-username}:{ambari-password} -H "X-Requested-By: ambari" -X GET http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/services
Hope that helps please revert
Created 07-25-2019 06:29 AM