This commit is contained in:
@@ -21,9 +21,10 @@ namespace AyaNova.Api.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get Health
|
/// Get Health (verify server AND database connection)
|
||||||
/// Also available at /health on server root
|
/// Note: for server monitoring or automation / orchestration use such as Docker prefer the mirror of this route at the server root: [api_server_url]/health
|
||||||
/// confirms liveness and also db availability
|
/// as it avoids API versioning issues
|
||||||
|
/// i.e. Docker: HEALTHCHECK CMD curl --fail http://localhost:5000/health || exit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>Provides an indication about the health of the API</remarks>
|
/// <remarks>Provides an indication about the health of the API</remarks>
|
||||||
/// <response code="200">API is healthy</response>
|
/// <response code="200">API is healthy</response>
|
||||||
|
|||||||
Reference in New Issue
Block a user