{"action":"opened","issue":{"url":"https://api.github.com/repos/basho-labs/riak_explorer/issues/93","labels_url":"https://api.github.com/repos/basho-labs/riak_explorer/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/basho-labs/riak_explorer/issues/93/comments","events_url":"https://api.github.com/repos/basho-labs/riak_explorer/issues/93/events","html_url":"https://github.com/basho-labs/riak_explorer/issues/93","id":119815568,"number":93,"title":"Add Riak type (EE/OSS) and Riak version to /explore/clusters info","user":{"login":"dmitrizagidulin","id":947005,"avatar_url":"https://avatars.githubusercontent.com/u/947005?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrizagidulin","html_url":"https://github.com/dmitrizagidulin","followers_url":"https://api.github.com/users/dmitrizagidulin/followers","following_url":"https://api.github.com/users/dmitrizagidulin/following{/other_user}","gists_url":"https://api.github.com/users/dmitrizagidulin/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrizagidulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrizagidulin/subscriptions","organizations_url":"https://api.github.com/users/dmitrizagidulin/orgs","repos_url":"https://api.github.com/users/dmitrizagidulin/repos","events_url":"https://api.github.com/users/dmitrizagidulin/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrizagidulin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T21:48:24Z","updated_at":"2015-12-01T21:48:24Z","closed_at":null,"body":"There is currently no way to easily determine the riak version of a particular cluster or node via an HTTP API. (The only way to get that info is to do [riak version](http://docs.basho.com/riak/latest/ops/running/tools/riak/#version) on the command line).\r\n\r\nNor is there a way to determine whether a user is dealing with an Enterprise Edition or Open-Source riak.\r\n\r\nAdd these two variables to the result of `/explore/clusters` API. This will enable a lot of intelligence on the GUI side.\r\n\r\nSample result:\r\n\r\n```\r\nGET localhost:9000/explore/clusters\r\n{\"clusters\":[\r\n    {\"id\":\"localdev\", \"riak_node\":\"riak@127.0.0.1\", \r\n       \"development_mode\":false,\r\n       \"riak_type\": \"ee\",\r\n       \"riak_version\": \"2.0.6\"\r\n    }, ... }\r\n```"}}