{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/50","labels_url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/50/comments","events_url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/50/events","html_url":"https://github.com/mesosphere/cassandra-mesos/pull/50","id":60686007,"number":50,"title":"Add API to inquire live nodes by clients","user":{"login":"snazy","id":957468,"avatar_url":"https://avatars.githubusercontent.com/u/957468?v=3","gravatar_id":"","url":"https://api.github.com/users/snazy","html_url":"https://github.com/snazy","followers_url":"https://api.github.com/users/snazy/followers","following_url":"https://api.github.com/users/snazy/following{/other_user}","gists_url":"https://api.github.com/users/snazy/gists{/gist_id}","starred_url":"https://api.github.com/users/snazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snazy/subscriptions","organizations_url":"https://api.github.com/users/snazy/orgs","repos_url":"https://api.github.com/users/snazy/repos","events_url":"https://api.github.com/users/snazy/events{/privacy}","received_events_url":"https://api.github.com/users/snazy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T16:25:55Z","updated_at":"2015-03-13T17:52:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mesosphere/cassandra-mesos/pulls/50","html_url":"https://github.com/mesosphere/cassandra-mesos/pull/50","diff_url":"https://github.com/mesosphere/cassandra-mesos/pull/50.diff","patch_url":"https://github.com/mesosphere/cassandra-mesos/pull/50.patch"},"body":"Adds an API endpoint to produce a list of live nodes for specific tools or client libraries.\r\n\r\nThis is a prerequisite for stress testing. It provides connect information for `nodetool`, `cassandra-stress`, `cqlsh` plus general-purpose JSON and plain text output.\r\n\r\nGeneral invocation:\r\n`http://host:port/live-endpoints/json/2`   retrieves two live nodes via json\r\n`http://host:port/live-endpoints/cqlsh`   retrieves one live nodes as a argument (list) for cqlsh\r\n\r\nAvailable 'applications' are `json`, `text`, `cqlsh`, `stress`, `nodetool`"},"comment":{"url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/comments/79186035","html_url":"https://github.com/mesosphere/cassandra-mesos/pull/50#issuecomment-79186035","issue_url":"https://api.github.com/repos/mesosphere/cassandra-mesos/issues/50","id":79186035,"user":{"login":"snazy","id":957468,"avatar_url":"https://avatars.githubusercontent.com/u/957468?v=3","gravatar_id":"","url":"https://api.github.com/users/snazy","html_url":"https://github.com/snazy","followers_url":"https://api.github.com/users/snazy/followers","following_url":"https://api.github.com/users/snazy/following{/other_user}","gists_url":"https://api.github.com/users/snazy/gists{/gist_id}","starred_url":"https://api.github.com/users/snazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snazy/subscriptions","organizations_url":"https://api.github.com/users/snazy/orgs","repos_url":"https://api.github.com/users/snazy/repos","events_url":"https://api.github.com/users/snazy/events{/privacy}","received_events_url":"https://api.github.com/users/snazy/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T17:52:00Z","updated_at":"2015-03-13T17:52:00Z","body":"pure text can be useful for simple shell scripts - much easier than parsing JSON in bash for example."}}