{"action":"created","issue":{"url":"https://api.github.com/repos/snapcore/snapd/issues/1771","repository_url":"https://api.github.com/repos/snapcore/snapd","labels_url":"https://api.github.com/repos/snapcore/snapd/issues/1771/labels{/name}","comments_url":"https://api.github.com/repos/snapcore/snapd/issues/1771/comments","events_url":"https://api.github.com/repos/snapcore/snapd/issues/1771/events","html_url":"https://github.com/snapcore/snapd/pull/1771","id":173521352,"number":1771,"title":"store: refresh expired device sessions","user":{"login":"matiasb","id":260710,"avatar_url":"https://avatars.githubusercontent.com/u/260710?v=3","gravatar_id":"","url":"https://api.github.com/users/matiasb","html_url":"https://github.com/matiasb","followers_url":"https://api.github.com/users/matiasb/followers","following_url":"https://api.github.com/users/matiasb/following{/other_user}","gists_url":"https://api.github.com/users/matiasb/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasb/subscriptions","organizations_url":"https://api.github.com/users/matiasb/orgs","repos_url":"https://api.github.com/users/matiasb/repos","events_url":"https://api.github.com/users/matiasb/events{/privacy}","received_events_url":"https://api.github.com/users/matiasb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snapcore/snapd/labels/Critical","name":"Critical","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-26T19:02:54Z","updated_at":"2016-08-29T16:41:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/snapcore/snapd/pulls/1771","html_url":"https://github.com/snapcore/snapd/pull/1771","diff_url":"https://github.com/snapcore/snapd/pull/1771.diff","patch_url":"https://github.com/snapcore/snapd/pull/1771.patch"},"body":"Updates store requests to handle device sessions requiring refresh. This path won't be triggered until an initial device session is set (see TODO in l.521). To enable device sessions [1] we need to make sure device registration is plugged in and server-side endpoints are available.\r\n\r\n[1] https://github.com/matiasb/snappy/compare/set-device-session...matiasb:enable-device-sessions?expand=1"},"comment":{"url":"https://api.github.com/repos/snapcore/snapd/issues/comments/243179813","html_url":"https://github.com/snapcore/snapd/pull/1771#issuecomment-243179813","issue_url":"https://api.github.com/repos/snapcore/snapd/issues/1771","id":243179813,"user":{"login":"pedronis","id":975757,"avatar_url":"https://avatars.githubusercontent.com/u/975757?v=3","gravatar_id":"","url":"https://api.github.com/users/pedronis","html_url":"https://github.com/pedronis","followers_url":"https://api.github.com/users/pedronis/followers","following_url":"https://api.github.com/users/pedronis/following{/other_user}","gists_url":"https://api.github.com/users/pedronis/gists{/gist_id}","starred_url":"https://api.github.com/users/pedronis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedronis/subscriptions","organizations_url":"https://api.github.com/users/pedronis/orgs","repos_url":"https://api.github.com/users/pedronis/repos","events_url":"https://api.github.com/users/pedronis/events{/privacy}","received_events_url":"https://api.github.com/users/pedronis/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T16:41:35Z","updated_at":"2016-08-29T16:41:35Z","body":"lgtm (the remaining points can be done in followups)"}}
{"actor":{"display_login":"pedronis"}}