For example :
To get an API health response for the different API services that artifactory uses type in the below command.It produces a response by content type in application/json format.
As we can see in the above output snippet the , The state property of the json response shows the state of the API services which the artifactory uses . Here the state shows HEALTHY, which means the respective API service is up and running.
To get an API health response for the different API services that artifactory uses type in the below command.It produces a response by content type in application/json format.
curl -uadmin:Password@123 -XGET http://localhost:8046/router/api/v1/topology/health -H 'Content-Type: application/json'
As we can see in the above output snippet the , The state property of the json response shows the state of the API services which the artifactory uses . Here the state shows HEALTHY, which means the respective API service is up and running.