Table of Contents

Class HealthController

Namespace
API.CliniCore.Controllers
Assembly
API.CliniCore.dll

Health check endpoint for service availability monitoring. Used by clients to verify the API is running before making requests.

[ApiController]
public class HealthController : ControllerBase
Inheritance
HealthController
Inherited Members

Methods

Health()

Simple health check - returns 200 OK if the service is running.

[HttpGet("/health")]
public IActionResult Health()

Returns

IActionResult

Ready()

Readiness check - returns 200 OK when service is ready to accept requests. Can be extended to check database connectivity, external dependencies, etc.

[HttpGet("/ready")]
public IActionResult Ready()

Returns

IActionResult