api/healthcheck: integration with Gandalf healthcheck. Related to #967