{"action":"closed","number":77,"pull_request":{"url":"https://api.github.com/repos/samsymons/RedditKit/pulls/77","id":44430211,"html_url":"https://github.com/samsymons/RedditKit/pull/77","diff_url":"https://github.com/samsymons/RedditKit/pull/77.diff","patch_url":"https://github.com/samsymons/RedditKit/pull/77.patch","issue_url":"https://api.github.com/repos/samsymons/RedditKit/issues/77","number":77,"state":"closed","locked":false,"title":"Add OAuth refreshToken methods to RKClient","user":{"login":"rdougan","id":28582,"avatar_url":"https://avatars.githubusercontent.com/u/28582?v=3","gravatar_id":"","url":"https://api.github.com/users/rdougan","html_url":"https://github.com/rdougan","followers_url":"https://api.github.com/users/rdougan/followers","following_url":"https://api.github.com/users/rdougan/following{/other_user}","gists_url":"https://api.github.com/users/rdougan/gists{/gist_id}","starred_url":"https://api.github.com/users/rdougan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdougan/subscriptions","organizations_url":"https://api.github.com/users/rdougan/orgs","repos_url":"https://api.github.com/users/rdougan/repos","events_url":"https://api.github.com/users/rdougan/events{/privacy}","received_events_url":"https://api.github.com/users/rdougan/received_events","type":"User","site_admin":false},"body":"...and automatically refresh the token when any request gets a 401 error.\r\n\r\nLet me know your thoughts on this. I believe we might need to pause/cancel all other tasks in the queue, if any exist, when we receive a 401 error.","created_at":"2015-09-08T13:13:01Z","updated_at":"2015-09-24T04:34:35Z","closed_at":"2015-09-24T04:34:35Z","merged_at":"2015-09-24T04:34:35Z","merge_commit_sha":"0e36360629fad7c0650374817ef3ce8c4dbf5d1d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samsymons/RedditKit/pulls/77/commits","review_comments_url":"https://api.github.com/repos/samsymons/RedditKit/pulls/77/comments","review_comment_url":"https://api.github.com/repos/samsymons/RedditKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samsymons/RedditKit/issues/77/comments","statuses_url":"https://api.github.com/repos/samsymons/RedditKit/statuses/dbaf23e08bca3f3c65cc83ef6d16d8b9c6a92ad5","head":{"label":"rdougan:oauth-refresh-token","ref":"oauth-refresh-token","sha":"dbaf23e08bca3f3c65cc83ef6d16d8b9c6a92ad5","user":{"login":"rdougan","id":28582,"avatar_url":"https://avatars.githubusercontent.com/u/28582?v=3","gravatar_id":"","url":"https://api.github.com/users/rdougan","html_url":"https://github.com/rdougan","followers_url":"https://api.github.com/users/rdougan/followers","following_url":"https://api.github.com/users/rdougan/following{/other_user}","gists_url":"https://api.github.com/users/rdougan/gists{/gist_id}","starred_url":"https://api.github.com/users/rdougan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdougan/subscriptions","organizations_url":"https://api.github.com/users/rdougan/orgs","repos_url":"https://api.github.com/users/rdougan/repos","events_url":"https://api.github.com/users/rdougan/events{/privacy}","received_events_url":"https://api.github.com/users/rdougan/received_events","type":"User","site_admin":false},"repo":{"id":42008532,"name":"RedditKit","full_name":"rdougan/RedditKit","owner":{"login":"rdougan","id":28582,"avatar_url":"https://avatars.githubusercontent.com/u/28582?v=3","gravatar_id":"","url":"https://api.github.com/users/rdougan","html_url":"https://github.com/rdougan","followers_url":"https://api.github.com/users/rdougan/followers","following_url":"https://api.github.com/users/rdougan/following{/other_user}","gists_url":"https://api.github.com/users/rdougan/gists{/gist_id}","starred_url":"https://api.github.com/users/rdougan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdougan/subscriptions","organizations_url":"https://api.github.com/users/rdougan/orgs","repos_url":"https://api.github.com/users/rdougan/repos","events_url":"https://api.github.com/users/rdougan/events{/privacy}","received_events_url":"https://api.github.com/users/rdougan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rdougan/RedditKit","description":"An Objective-C wrapper for the reddit API","fork":true,"url":"https://api.github.com/repos/rdougan/RedditKit","forks_url":"https://api.github.com/repos/rdougan/RedditKit/forks","keys_url":"https://api.github.com/repos/rdougan/RedditKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdougan/RedditKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdougan/RedditKit/teams","hooks_url":"https://api.github.com/repos/rdougan/RedditKit/hooks","issue_events_url":"https://api.github.com/repos/rdougan/RedditKit/issues/events{/number}","events_url":"https://api.github.com/repos/rdougan/RedditKit/events","assignees_url":"https://api.github.com/repos/rdougan/RedditKit/assignees{/user}","branches_url":"https://api.github.com/repos/rdougan/RedditKit/branches{/branch}","tags_url":"https://api.github.com/repos/rdougan/RedditKit/tags","blobs_url":"https://api.github.com/repos/rdougan/RedditKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdougan/RedditKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdougan/RedditKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdougan/RedditKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdougan/RedditKit/statuses/{sha}","languages_url":"https://api.github.com/repos/rdougan/RedditKit/languages","stargazers_url":"https://api.github.com/repos/rdougan/RedditKit/stargazers","contributors_url":"https://api.github.com/repos/rdougan/RedditKit/contributors","subscribers_url":"https://api.github.com/repos/rdougan/RedditKit/subscribers","subscription_url":"https://api.github.com/repos/rdougan/RedditKit/subscription","commits_url":"https://api.github.com/repos/rdougan/RedditKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdougan/RedditKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdougan/RedditKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdougan/RedditKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdougan/RedditKit/contents/{+path}","compare_url":"https://api.github.com/repos/rdougan/RedditKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdougan/RedditKit/merges","archive_url":"https://api.github.com/repos/rdougan/RedditKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdougan/RedditKit/downloads","issues_url":"https://api.github.com/repos/rdougan/RedditKit/issues{/number}","pulls_url":"https://api.github.com/repos/rdougan/RedditKit/pulls{/number}","milestones_url":"https://api.github.com/repos/rdougan/RedditKit/milestones{/number}","notifications_url":"https://api.github.com/repos/rdougan/RedditKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdougan/RedditKit/labels{/name}","releases_url":"https://api.github.com/repos/rdougan/RedditKit/releases{/id}","created_at":"2015-09-06T15:57:49Z","updated_at":"2015-09-06T15:57:50Z","pushed_at":"2015-09-08T13:52:37Z","git_url":"git://github.com/rdougan/RedditKit.git","ssh_url":"git@github.com:rdougan/RedditKit.git","clone_url":"https://github.com/rdougan/RedditKit.git","svn_url":"https://github.com/rdougan/RedditKit","homepage":"https://redditkit.com/","size":1084,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"samsymons:2.0-beta1","ref":"2.0-beta1","sha":"ae638cf5dbb1c8f90ecc29e79937344aebf2faf3","user":{"login":"samsymons","id":183774,"avatar_url":"https://avatars.githubusercontent.com/u/183774?v=3","gravatar_id":"","url":"https://api.github.com/users/samsymons","html_url":"https://github.com/samsymons","followers_url":"https://api.github.com/users/samsymons/followers","following_url":"https://api.github.com/users/samsymons/following{/other_user}","gists_url":"https://api.github.com/users/samsymons/gists{/gist_id}","starred_url":"https://api.github.com/users/samsymons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsymons/subscriptions","organizations_url":"https://api.github.com/users/samsymons/orgs","repos_url":"https://api.github.com/users/samsymons/repos","events_url":"https://api.github.com/users/samsymons/events{/privacy}","received_events_url":"https://api.github.com/users/samsymons/received_events","type":"User","site_admin":false},"repo":{"id":14248891,"name":"RedditKit","full_name":"samsymons/RedditKit","owner":{"login":"samsymons","id":183774,"avatar_url":"https://avatars.githubusercontent.com/u/183774?v=3","gravatar_id":"","url":"https://api.github.com/users/samsymons","html_url":"https://github.com/samsymons","followers_url":"https://api.github.com/users/samsymons/followers","following_url":"https://api.github.com/users/samsymons/following{/other_user}","gists_url":"https://api.github.com/users/samsymons/gists{/gist_id}","starred_url":"https://api.github.com/users/samsymons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsymons/subscriptions","organizations_url":"https://api.github.com/users/samsymons/orgs","repos_url":"https://api.github.com/users/samsymons/repos","events_url":"https://api.github.com/users/samsymons/events{/privacy}","received_events_url":"https://api.github.com/users/samsymons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samsymons/RedditKit","description":"An Objective-C wrapper for the reddit API","fork":false,"url":"https://api.github.com/repos/samsymons/RedditKit","forks_url":"https://api.github.com/repos/samsymons/RedditKit/forks","keys_url":"https://api.github.com/repos/samsymons/RedditKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samsymons/RedditKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samsymons/RedditKit/teams","hooks_url":"https://api.github.com/repos/samsymons/RedditKit/hooks","issue_events_url":"https://api.github.com/repos/samsymons/RedditKit/issues/events{/number}","events_url":"https://api.github.com/repos/samsymons/RedditKit/events","assignees_url":"https://api.github.com/repos/samsymons/RedditKit/assignees{/user}","branches_url":"https://api.github.com/repos/samsymons/RedditKit/branches{/branch}","tags_url":"https://api.github.com/repos/samsymons/RedditKit/tags","blobs_url":"https://api.github.com/repos/samsymons/RedditKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samsymons/RedditKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samsymons/RedditKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/samsymons/RedditKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samsymons/RedditKit/statuses/{sha}","languages_url":"https://api.github.com/repos/samsymons/RedditKit/languages","stargazers_url":"https://api.github.com/repos/samsymons/RedditKit/stargazers","contributors_url":"https://api.github.com/repos/samsymons/RedditKit/contributors","subscribers_url":"https://api.github.com/repos/samsymons/RedditKit/subscribers","subscription_url":"https://api.github.com/repos/samsymons/RedditKit/subscription","commits_url":"https://api.github.com/repos/samsymons/RedditKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/samsymons/RedditKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/samsymons/RedditKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/samsymons/RedditKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/samsymons/RedditKit/contents/{+path}","compare_url":"https://api.github.com/repos/samsymons/RedditKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samsymons/RedditKit/merges","archive_url":"https://api.github.com/repos/samsymons/RedditKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samsymons/RedditKit/downloads","issues_url":"https://api.github.com/repos/samsymons/RedditKit/issues{/number}","pulls_url":"https://api.github.com/repos/samsymons/RedditKit/pulls{/number}","milestones_url":"https://api.github.com/repos/samsymons/RedditKit/milestones{/number}","notifications_url":"https://api.github.com/repos/samsymons/RedditKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samsymons/RedditKit/labels{/name}","releases_url":"https://api.github.com/repos/samsymons/RedditKit/releases{/id}","created_at":"2013-11-09T01:25:37Z","updated_at":"2015-09-22T22:55:43Z","pushed_at":"2015-09-24T04:34:35Z","git_url":"git://github.com/samsymons/RedditKit.git","ssh_url":"git@github.com:samsymons/RedditKit.git","clone_url":"https://github.com/samsymons/RedditKit.git","svn_url":"https://github.com/samsymons/RedditKit","homepage":"https://redditkit.com/","size":1991,"stargazers_count":272,"watchers_count":272,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":10,"forks":40,"open_issues":10,"watchers":272,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samsymons/RedditKit/pulls/77"},"html":{"href":"https://github.com/samsymons/RedditKit/pull/77"},"issue":{"href":"https://api.github.com/repos/samsymons/RedditKit/issues/77"},"comments":{"href":"https://api.github.com/repos/samsymons/RedditKit/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/samsymons/RedditKit/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/samsymons/RedditKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samsymons/RedditKit/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/samsymons/RedditKit/statuses/dbaf23e08bca3f3c65cc83ef6d16d8b9c6a92ad5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"samsymons","id":183774,"avatar_url":"https://avatars.githubusercontent.com/u/183774?v=3","gravatar_id":"","url":"https://api.github.com/users/samsymons","html_url":"https://github.com/samsymons","followers_url":"https://api.github.com/users/samsymons/followers","following_url":"https://api.github.com/users/samsymons/following{/other_user}","gists_url":"https://api.github.com/users/samsymons/gists{/gist_id}","starred_url":"https://api.github.com/users/samsymons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsymons/subscriptions","organizations_url":"https://api.github.com/users/samsymons/orgs","repos_url":"https://api.github.com/users/samsymons/repos","events_url":"https://api.github.com/users/samsymons/events{/privacy}","received_events_url":"https://api.github.com/users/samsymons/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":190,"deletions":26,"changed_files":12}}