{"action":"created","issue":{"url":"https://api.github.com/repos/trezor/python-trezor/issues/242","repository_url":"https://api.github.com/repos/trezor/python-trezor","labels_url":"https://api.github.com/repos/trezor/python-trezor/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/trezor/python-trezor/issues/242/comments","events_url":"https://api.github.com/repos/trezor/python-trezor/issues/242/events","html_url":"https://github.com/trezor/python-trezor/pull/242","id":309443326,"number":242,"title":"trezorctl: update url to releases.json","user":{"login":"bithobbes","id":4664366,"avatar_url":"https://avatars2.githubusercontent.com/u/4664366?v=4","gravatar_id":"","url":"https://api.github.com/users/bithobbes","html_url":"https://github.com/bithobbes","followers_url":"https://api.github.com/users/bithobbes/followers","following_url":"https://api.github.com/users/bithobbes/following{/other_user}","gists_url":"https://api.github.com/users/bithobbes/gists{/gist_id}","starred_url":"https://api.github.com/users/bithobbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bithobbes/subscriptions","organizations_url":"https://api.github.com/users/bithobbes/orgs","repos_url":"https://api.github.com/users/bithobbes/repos","events_url":"https://api.github.com/users/bithobbes/events{/privacy}","received_events_url":"https://api.github.com/users/bithobbes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T16:37:23Z","updated_at":"2018-03-28T22:41:09Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/trezor/python-trezor/pulls/242","html_url":"https://github.com/trezor/python-trezor/pull/242","diff_url":"https://github.com/trezor/python-trezor/pull/242.diff","patch_url":"https://github.com/trezor/python-trezor/pull/242.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/trezor/python-trezor/issues/comments/377061751","html_url":"https://github.com/trezor/python-trezor/pull/242#issuecomment-377061751","issue_url":"https://api.github.com/repos/trezor/python-trezor/issues/242","id":377061751,"user":{"login":"prusnak","id":42201,"avatar_url":"https://avatars2.githubusercontent.com/u/42201?v=4","gravatar_id":"","url":"https://api.github.com/users/prusnak","html_url":"https://github.com/prusnak","followers_url":"https://api.github.com/users/prusnak/followers","following_url":"https://api.github.com/users/prusnak/following{/other_user}","gists_url":"https://api.github.com/users/prusnak/gists{/gist_id}","starred_url":"https://api.github.com/users/prusnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prusnak/subscriptions","organizations_url":"https://api.github.com/users/prusnak/orgs","repos_url":"https://api.github.com/users/prusnak/repos","events_url":"https://api.github.com/users/prusnak/events{/privacy}","received_events_url":"https://api.github.com/users/prusnak/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T22:41:09Z","updated_at":"2018-03-28T22:41:09Z","author_association":"OWNER","body":"I think we can implement the following improvements:\r\n\r\na) use `connect().features.bootloader_mode` to check whether the device is in the bootloader mode first and throw an exception if not\r\n\r\nb) use `connect().features.major_version` to determine whether we should put `1` or `2` in the JSON url"}}
{"actor":{"display_login":"prusnak"}}