{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6648","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6648/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6648/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6648/events","html_url":"https://github.com/bitcoin/bitcoin/pull/6648","id":105255664,"number":6648,"title":"Simplify logic of REST request suffix parsing.","user":{"login":"domob1812","id":4943644,"avatar_url":"https://avatars.githubusercontent.com/u/4943644?v=3","gravatar_id":"","url":"https://api.github.com/users/domob1812","html_url":"https://github.com/domob1812","followers_url":"https://api.github.com/users/domob1812/followers","following_url":"https://api.github.com/users/domob1812/following{/other_user}","gists_url":"https://api.github.com/users/domob1812/gists{/gist_id}","starred_url":"https://api.github.com/users/domob1812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domob1812/subscriptions","organizations_url":"https://api.github.com/users/domob1812/orgs","repos_url":"https://api.github.com/users/domob1812/repos","events_url":"https://api.github.com/users/domob1812/events{/privacy}","received_events_url":"https://api.github.com/users/domob1812/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-07T18:39:00Z","updated_at":"2015-09-07T23:57:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/6648","html_url":"https://github.com/bitcoin/bitcoin/pull/6648","diff_url":"https://github.com/bitcoin/bitcoin/pull/6648.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/6648.patch"},"body":"This patch changes the way the suffix (giving the requested data format) is parsed for REST requests.  Before, the string was split at '.' characters and it was assumed that the second part was the suffix.\r\n\r\nNow, we look for the last dot and use that to determine the suffix.  This allows for strings that contain dots (not used now, though), and seems, in general, to be clearer and more intuitive."},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/138393963","html_url":"https://github.com/bitcoin/bitcoin/pull/6648#issuecomment-138393963","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6648","id":138393963,"user":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T23:57:47Z","updated_at":"2015-09-07T23:57:47Z","body":"utACK"}}