{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/MMore/pimatic-z-way/pulls/17","id":87644651,"html_url":"https://github.com/MMore/pimatic-z-way/pull/17","diff_url":"https://github.com/MMore/pimatic-z-way/pull/17.diff","patch_url":"https://github.com/MMore/pimatic-z-way/pull/17.patch","issue_url":"https://api.github.com/repos/MMore/pimatic-z-way/issues/17","number":17,"state":"closed","locked":false,"title":"Adding reset of authentication after failing with 401 return code","user":{"login":"thexperiments","id":6382199,"avatar_url":"https://avatars.githubusercontent.com/u/6382199?v=3","gravatar_id":"","url":"https://api.github.com/users/thexperiments","html_url":"https://github.com/thexperiments","followers_url":"https://api.github.com/users/thexperiments/followers","following_url":"https://api.github.com/users/thexperiments/following{/other_user}","gists_url":"https://api.github.com/users/thexperiments/gists{/gist_id}","starred_url":"https://api.github.com/users/thexperiments/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thexperiments/subscriptions","organizations_url":"https://api.github.com/users/thexperiments/orgs","repos_url":"https://api.github.com/users/thexperiments/repos","events_url":"https://api.github.com/users/thexperiments/events{/privacy}","received_events_url":"https://api.github.com/users/thexperiments/received_events","type":"User","site_admin":false},"body":"Currently if the zway server restarts or the session is closed for some other reason the plugin still thinks it is authenticated and doesn't reauthenticate. This fixes this behaviour and triggers a reauthentication on the next try.","created_at":"2016-10-02T20:02:23Z","updated_at":"2016-10-10T20:17:43Z","closed_at":"2016-10-10T20:17:43Z","merged_at":null,"merge_commit_sha":"c56e08f8adceefee8ea00e8bb6ac8c7a1f7a4d52","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MMore/pimatic-z-way/pulls/17/commits","review_comments_url":"https://api.github.com/repos/MMore/pimatic-z-way/pulls/17/comments","review_comment_url":"https://api.github.com/repos/MMore/pimatic-z-way/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MMore/pimatic-z-way/issues/17/comments","statuses_url":"https://api.github.com/repos/MMore/pimatic-z-way/statuses/2bf1a6c9044cde5c69313fe068a371fd9f8f1da1","head":{"label":"thexperiments:master","ref":"master","sha":"2bf1a6c9044cde5c69313fe068a371fd9f8f1da1","user":{"login":"thexperiments","id":6382199,"avatar_url":"https://avatars.githubusercontent.com/u/6382199?v=3","gravatar_id":"","url":"https://api.github.com/users/thexperiments","html_url":"https://github.com/thexperiments","followers_url":"https://api.github.com/users/thexperiments/followers","following_url":"https://api.github.com/users/thexperiments/following{/other_user}","gists_url":"https://api.github.com/users/thexperiments/gists{/gist_id}","starred_url":"https://api.github.com/users/thexperiments/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thexperiments/subscriptions","organizations_url":"https://api.github.com/users/thexperiments/orgs","repos_url":"https://api.github.com/users/thexperiments/repos","events_url":"https://api.github.com/users/thexperiments/events{/privacy}","received_events_url":"https://api.github.com/users/thexperiments/received_events","type":"User","site_admin":false},"repo":{"id":57453316,"name":"pimatic-z-way","full_name":"thexperiments/pimatic-z-way","owner":{"login":"thexperiments","id":6382199,"avatar_url":"https://avatars.githubusercontent.com/u/6382199?v=3","gravatar_id":"","url":"https://api.github.com/users/thexperiments","html_url":"https://github.com/thexperiments","followers_url":"https://api.github.com/users/thexperiments/followers","following_url":"https://api.github.com/users/thexperiments/following{/other_user}","gists_url":"https://api.github.com/users/thexperiments/gists{/gist_id}","starred_url":"https://api.github.com/users/thexperiments/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thexperiments/subscriptions","organizations_url":"https://api.github.com/users/thexperiments/orgs","repos_url":"https://api.github.com/users/thexperiments/repos","events_url":"https://api.github.com/users/thexperiments/events{/privacy}","received_events_url":"https://api.github.com/users/thexperiments/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thexperiments/pimatic-z-way","description":"pimatic plugin for controlling devices using Z-Way","fork":true,"url":"https://api.github.com/repos/thexperiments/pimatic-z-way","forks_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/forks","keys_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/teams","hooks_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/hooks","issue_events_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/issues/events{/number}","events_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/events","assignees_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/assignees{/user}","branches_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/branches{/branch}","tags_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/tags","blobs_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/git/refs{/sha}","trees_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/statuses/{sha}","languages_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/languages","stargazers_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/stargazers","contributors_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/contributors","subscribers_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/subscribers","subscription_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/subscription","commits_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/commits{/sha}","git_commits_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/git/commits{/sha}","comments_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/comments{/number}","issue_comment_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/issues/comments{/number}","contents_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/contents/{+path}","compare_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/merges","archive_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/downloads","issues_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/issues{/number}","pulls_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/pulls{/number}","milestones_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/milestones{/number}","notifications_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/labels{/name}","releases_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/releases{/id}","deployments_url":"https://api.github.com/repos/thexperiments/pimatic-z-way/deployments","created_at":"2016-04-30T17:12:49Z","updated_at":"2016-04-30T17:12:50Z","pushed_at":"2016-10-10T20:14:55Z","git_url":"git://github.com/thexperiments/pimatic-z-way.git","ssh_url":"git@github.com:thexperiments/pimatic-z-way.git","clone_url":"https://github.com/thexperiments/pimatic-z-way.git","svn_url":"https://github.com/thexperiments/pimatic-z-way","homepage":"","size":117,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MMore:master","ref":"master","sha":"5d87d4586e970de8d956dda5920fd85a7b270739","user":{"login":"MMore","id":172760,"avatar_url":"https://avatars.githubusercontent.com/u/172760?v=3","gravatar_id":"","url":"https://api.github.com/users/MMore","html_url":"https://github.com/MMore","followers_url":"https://api.github.com/users/MMore/followers","following_url":"https://api.github.com/users/MMore/following{/other_user}","gists_url":"https://api.github.com/users/MMore/gists{/gist_id}","starred_url":"https://api.github.com/users/MMore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMore/subscriptions","organizations_url":"https://api.github.com/users/MMore/orgs","repos_url":"https://api.github.com/users/MMore/repos","events_url":"https://api.github.com/users/MMore/events{/privacy}","received_events_url":"https://api.github.com/users/MMore/received_events","type":"User","site_admin":false},"repo":{"id":31493264,"name":"pimatic-z-way","full_name":"MMore/pimatic-z-way","owner":{"login":"MMore","id":172760,"avatar_url":"https://avatars.githubusercontent.com/u/172760?v=3","gravatar_id":"","url":"https://api.github.com/users/MMore","html_url":"https://github.com/MMore","followers_url":"https://api.github.com/users/MMore/followers","following_url":"https://api.github.com/users/MMore/following{/other_user}","gists_url":"https://api.github.com/users/MMore/gists{/gist_id}","starred_url":"https://api.github.com/users/MMore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMore/subscriptions","organizations_url":"https://api.github.com/users/MMore/orgs","repos_url":"https://api.github.com/users/MMore/repos","events_url":"https://api.github.com/users/MMore/events{/privacy}","received_events_url":"https://api.github.com/users/MMore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MMore/pimatic-z-way","description":"pimatic plugin for controlling devices using Z-Way","fork":true,"url":"https://api.github.com/repos/MMore/pimatic-z-way","forks_url":"https://api.github.com/repos/MMore/pimatic-z-way/forks","keys_url":"https://api.github.com/repos/MMore/pimatic-z-way/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MMore/pimatic-z-way/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MMore/pimatic-z-way/teams","hooks_url":"https://api.github.com/repos/MMore/pimatic-z-way/hooks","issue_events_url":"https://api.github.com/repos/MMore/pimatic-z-way/issues/events{/number}","events_url":"https://api.github.com/repos/MMore/pimatic-z-way/events","assignees_url":"https://api.github.com/repos/MMore/pimatic-z-way/assignees{/user}","branches_url":"https://api.github.com/repos/MMore/pimatic-z-way/branches{/branch}","tags_url":"https://api.github.com/repos/MMore/pimatic-z-way/tags","blobs_url":"https://api.github.com/repos/MMore/pimatic-z-way/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MMore/pimatic-z-way/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MMore/pimatic-z-way/git/refs{/sha}","trees_url":"https://api.github.com/repos/MMore/pimatic-z-way/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MMore/pimatic-z-way/statuses/{sha}","languages_url":"https://api.github.com/repos/MMore/pimatic-z-way/languages","stargazers_url":"https://api.github.com/repos/MMore/pimatic-z-way/stargazers","contributors_url":"https://api.github.com/repos/MMore/pimatic-z-way/contributors","subscribers_url":"https://api.github.com/repos/MMore/pimatic-z-way/subscribers","subscription_url":"https://api.github.com/repos/MMore/pimatic-z-way/subscription","commits_url":"https://api.github.com/repos/MMore/pimatic-z-way/commits{/sha}","git_commits_url":"https://api.github.com/repos/MMore/pimatic-z-way/git/commits{/sha}","comments_url":"https://api.github.com/repos/MMore/pimatic-z-way/comments{/number}","issue_comment_url":"https://api.github.com/repos/MMore/pimatic-z-way/issues/comments{/number}","contents_url":"https://api.github.com/repos/MMore/pimatic-z-way/contents/{+path}","compare_url":"https://api.github.com/repos/MMore/pimatic-z-way/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MMore/pimatic-z-way/merges","archive_url":"https://api.github.com/repos/MMore/pimatic-z-way/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MMore/pimatic-z-way/downloads","issues_url":"https://api.github.com/repos/MMore/pimatic-z-way/issues{/number}","pulls_url":"https://api.github.com/repos/MMore/pimatic-z-way/pulls{/number}","milestones_url":"https://api.github.com/repos/MMore/pimatic-z-way/milestones{/number}","notifications_url":"https://api.github.com/repos/MMore/pimatic-z-way/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MMore/pimatic-z-way/labels{/name}","releases_url":"https://api.github.com/repos/MMore/pimatic-z-way/releases{/id}","deployments_url":"https://api.github.com/repos/MMore/pimatic-z-way/deployments","created_at":"2015-03-01T10:28:34Z","updated_at":"2016-09-23T18:11:34Z","pushed_at":"2016-10-10T20:14:54Z","git_url":"git://github.com/MMore/pimatic-z-way.git","ssh_url":"git@github.com:MMore/pimatic-z-way.git","clone_url":"https://github.com/MMore/pimatic-z-way.git","svn_url":"https://github.com/MMore/pimatic-z-way","homepage":"","size":114,"stargazers_count":5,"watchers_count":5,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MMore/pimatic-z-way/pulls/17"},"html":{"href":"https://github.com/MMore/pimatic-z-way/pull/17"},"issue":{"href":"https://api.github.com/repos/MMore/pimatic-z-way/issues/17"},"comments":{"href":"https://api.github.com/repos/MMore/pimatic-z-way/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/MMore/pimatic-z-way/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/MMore/pimatic-z-way/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MMore/pimatic-z-way/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/MMore/pimatic-z-way/statuses/2bf1a6c9044cde5c69313fe068a371fd9f8f1da1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":10,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"MMore"}}