API - How to Check the “Service Health”
To check the health of both the service and the database in BotReady, you must use the HEALTH method.
Information About the Method
- “status”: current status of the API service. It can only reply “UP”.
- “dbConnection”: current status of the connection to the database. It can reply:
- “UP” >> Smooth connection.
- “DOWN” >> Existing issues.