{"action":"created","issue":{"url":"https://api.github.com/repos/jperry/teamcity-ruby-client/issues/41","labels_url":"https://api.github.com/repos/jperry/teamcity-ruby-client/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/jperry/teamcity-ruby-client/issues/41/comments","events_url":"https://api.github.com/repos/jperry/teamcity-ruby-client/issues/41/events","html_url":"https://github.com/jperry/teamcity-ruby-client/pull/41","id":48692845,"number":41,"title":"Teamcity8 support & bug fixes","user":{"login":"emil-mi","id":2182723,"avatar_url":"https://avatars.githubusercontent.com/u/2182723?v=3","gravatar_id":"","url":"https://api.github.com/users/emil-mi","html_url":"https://github.com/emil-mi","followers_url":"https://api.github.com/users/emil-mi/followers","following_url":"https://api.github.com/users/emil-mi/following{/other_user}","gists_url":"https://api.github.com/users/emil-mi/gists{/gist_id}","starred_url":"https://api.github.com/users/emil-mi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emil-mi/subscriptions","organizations_url":"https://api.github.com/users/emil-mi/orgs","repos_url":"https://api.github.com/users/emil-mi/repos","events_url":"https://api.github.com/users/emil-mi/events{/privacy}","received_events_url":"https://api.github.com/users/emil-mi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-13T21:15:45Z","updated_at":"2015-01-26T07:56:57Z","closed_at":"2015-01-26T07:56:57Z","pull_request":{"url":"https://api.github.com/repos/jperry/teamcity-ruby-client/pulls/41","html_url":"https://github.com/jperry/teamcity-ruby-client/pull/41","diff_url":"https://github.com/jperry/teamcity-ruby-client/pull/41.diff","patch_url":"https://github.com/jperry/teamcity-ruby-client/pull/41.patch"},"body":"Series of patches that add methods for TC8 API and some small bug fix"},"comment":{"url":"https://api.github.com/repos/jperry/teamcity-ruby-client/issues/comments/71424582","html_url":"https://github.com/jperry/teamcity-ruby-client/pull/41#issuecomment-71424582","issue_url":"https://api.github.com/repos/jperry/teamcity-ruby-client/issues/41","id":71424582,"user":{"login":"emil-mi","id":2182723,"avatar_url":"https://avatars.githubusercontent.com/u/2182723?v=3","gravatar_id":"","url":"https://api.github.com/users/emil-mi","html_url":"https://github.com/emil-mi","followers_url":"https://api.github.com/users/emil-mi/followers","following_url":"https://api.github.com/users/emil-mi/following{/other_user}","gists_url":"https://api.github.com/users/emil-mi/gists{/gist_id}","starred_url":"https://api.github.com/users/emil-mi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emil-mi/subscriptions","organizations_url":"https://api.github.com/users/emil-mi/orgs","repos_url":"https://api.github.com/users/emil-mi/repos","events_url":"https://api.github.com/users/emil-mi/events{/privacy}","received_events_url":"https://api.github.com/users/emil-mi/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T07:56:56Z","updated_at":"2015-01-26T07:56:56Z","body":"@jperry - sorry. I was busy.\r\nNow there is a new version of TeamCity (https://confluence.jetbrains.com/display/TCD9/REST+API#RESTAPI-RESTAPIVersions) and a new API version. It seems that there are no major changes but I see it as a sign that we are chasing an ever moving target so there is no one-size-fits-all solution.\r\nDo you think that adjusting the available functions (and arguments) based  on the the targeted API version is ok?\r\n(This would mean introducing an \"version\" configuration parameter, computing the correct http endpoint, and then injecting the appropriate methods signatures).\r\n\r\n(Please keep in mind that I am not a seasoned Ruby programmer and if say something stupid (like \"injecting methods\") or not ruby-like, then I welcome your corrections)"}}