- Retrieve the application health check configuration
Replace the application health check configuration
Retrieve the application...
Retrieves a health check configuration for an application
GET
curl -i -X GET \
'https://oag.domain.tld/api/v2/apps/{applicationId}/health-check'Success
Whether health checks are allowed for protected resource URLs in load balanced applications. Health checks are allowed if enabled is true.
Default:false
Number of successful responses that must be returned before a host is considered healthy
Default:3
HTTP request method for health checks. GET is the only supported method.
Default:"GET"
Value:"GET"
HTTP response status code that web resources return as part of a successful health check
Default:200
The amount of time, in seconds, that a health check HTTP request can take before it's considered a failure
Default:1
Response
{ "enabled": false, "path": "/", "method": "GET", "statusCode": 200, "interval": 10, "timeout": 1, "healthyThreshold": 3, "unhealthyThreshold": 3 }