{"action":"created","issue":{"url":"https://api.github.com/repos/arangamani/jenkins_api_client/issues/179","labels_url":"https://api.github.com/repos/arangamani/jenkins_api_client/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/arangamani/jenkins_api_client/issues/179/comments","events_url":"https://api.github.com/repos/arangamani/jenkins_api_client/issues/179/events","html_url":"https://github.com/arangamani/jenkins_api_client/pull/179","id":81556686,"number":179,"title":"Cleaning up Node calls to make only one call for the computer item","user":{"login":"stjohnjohnson","id":622065,"avatar_url":"https://avatars.githubusercontent.com/u/622065?v=3","gravatar_id":"","url":"https://api.github.com/users/stjohnjohnson","html_url":"https://github.com/stjohnjohnson","followers_url":"https://api.github.com/users/stjohnjohnson/followers","following_url":"https://api.github.com/users/stjohnjohnson/following{/other_user}","gists_url":"https://api.github.com/users/stjohnjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/stjohnjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stjohnjohnson/subscriptions","organizations_url":"https://api.github.com/users/stjohnjohnson/orgs","repos_url":"https://api.github.com/users/stjohnjohnson/repos","events_url":"https://api.github.com/users/stjohnjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/stjohnjohnson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-27T18:02:11Z","updated_at":"2015-05-29T17:29:13Z","closed_at":"2015-05-29T17:12:02Z","pull_request":{"url":"https://api.github.com/repos/arangamani/jenkins_api_client/pulls/179","html_url":"https://github.com/arangamani/jenkins_api_client/pull/179","diff_url":"https://github.com/arangamani/jenkins_api_client/pull/179.diff","patch_url":"https://github.com/arangamani/jenkins_api_client/pull/179.patch"},"body":"Currently calls to things like `is_offline?` and `is_idle?` make two calls to `/computer`: one to get the complete list and then another to find the index value of the computer you're looking for.  \r\n\r\nAlmost all of my Jenkins instances have hundreds of computers, so this is quite expensive.\r\n\r\nThis change here makes all of these methods access JUST the computer and JUST the data you need, and only once."},"comment":{"url":"https://api.github.com/repos/arangamani/jenkins_api_client/issues/comments/106880406","html_url":"https://github.com/arangamani/jenkins_api_client/pull/179#issuecomment-106880406","issue_url":"https://api.github.com/repos/arangamani/jenkins_api_client/issues/179","id":106880406,"user":{"login":"stjohnjohnson","id":622065,"avatar_url":"https://avatars.githubusercontent.com/u/622065?v=3","gravatar_id":"","url":"https://api.github.com/users/stjohnjohnson","html_url":"https://github.com/stjohnjohnson","followers_url":"https://api.github.com/users/stjohnjohnson/followers","following_url":"https://api.github.com/users/stjohnjohnson/following{/other_user}","gists_url":"https://api.github.com/users/stjohnjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/stjohnjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stjohnjohnson/subscriptions","organizations_url":"https://api.github.com/users/stjohnjohnson/orgs","repos_url":"https://api.github.com/users/stjohnjohnson/repos","events_url":"https://api.github.com/users/stjohnjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/stjohnjohnson/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T17:29:13Z","updated_at":"2015-05-29T17:29:13Z","body":"No problem, let me know the new version when you do release it. :)"}}