{"size": 474, "ext": "js", "max_stars_repo_path": "routes/health.js", "max_stars_repo_name": "RotaruDan/analytics-collector", "max_stars_repo_stars_event_min_datetime": "2015-09-22T14:38:10.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-03T11:30:23.000Z", "max_issues_repo_path": "routes/health.js", "max_issues_repo_name": "RotaruDan/analytics-collector", "max_issues_repo_issues_event_min_datetime": "2015-10-01T14:04:11.000Z", "max_issues_repo_issues_event_max_datetime": "2020-05-21T12:18:02.000Z", "max_forks_repo_path": "routes/health.js", "max_forks_repo_name": "RotaruDan/analytics-collector", "max_forks_repo_forks_event_min_datetime": "2015-09-30T09:00:27.000Z", "max_forks_repo_forks_event_max_datetime": "2015-10-21T12:12:08.000Z"}
{"max_stars_count": 7, "max_issues_count": 78, "max_forks_count": 2, "avg_line_length": 17.5555555556, "max_line_length": 43, "alphanum_fraction": 0.5696202532}
'use strict';

var express = require('express'),
    router = express.Router();

/**
 * @api {get} /health Check the api health.
 * @apiName Heath
 * @apiGroup Health
 *
 * @apiPermission none
 *
 * @apiSuccess(200) Success.
 *
 * @apiSuccessExample Success-Response:
 *      HTTP/1.1 200 OK
 *      {
 *          "status": "Available"
 *      }
 */
router.get('/', function (req, res, next) {
    res.json({
        status: 'Available'
    });
});

module.exports = router;