kibana-riya
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
17 lines (13 loc) • 384 B
JavaScript
;
var _ = require("lodash");
module.exports.resolveApi = function (sense_version, apis, reply) {
var result = {};
_.each(apis, function (name) {
{
// for now we ignore sense_version. might add it in the api name later
var api = require('./' + name);
result[name] = api.asJson();
}
});
return reply(result).type("application/json");
};