Is there a API endpoint I could use for a healthcheck?
My DevOps team has told us it cannot determine weather the Grav application is ready when deploying server/website. They are asking us to build a healthcheck but I was wondering if there is already something like this built into Grav that can be used for healthchecks?
Endpoints are fairly easy to create. What would a healthcheck entail? Running test to check the system is operational? Reporting on the environment and ecosystem?
yeah basically just a test to check grav system is operational and return 2xx or something and 5xx if it’s not
Further to Ole’s general comment, just create a hidden endpoint page that returns JSON/XML/whatever and hit it.