{"action":"opened","number":70,"pull_request":{"url":"https://api.github.com/repos/pusher/chatkit-swift/pulls/70","id":176261950,"html_url":"https://github.com/pusher/chatkit-swift/pull/70","diff_url":"https://github.com/pusher/chatkit-swift/pull/70.diff","patch_url":"https://github.com/pusher/chatkit-swift/pull/70.patch","issue_url":"https://api.github.com/repos/pusher/chatkit-swift/issues/70","number":70,"state":"open","locked":false,"title":"Queue token fetch requests if one is already underway","user":{"login":"hamchapman","id":2475150,"avatar_url":"https://avatars2.githubusercontent.com/u/2475150?v=4","gravatar_id":"","url":"https://api.github.com/users/hamchapman","html_url":"https://github.com/hamchapman","followers_url":"https://api.github.com/users/hamchapman/followers","following_url":"https://api.github.com/users/hamchapman/following{/other_user}","gists_url":"https://api.github.com/users/hamchapman/gists{/gist_id}","starred_url":"https://api.github.com/users/hamchapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamchapman/subscriptions","organizations_url":"https://api.github.com/users/hamchapman/orgs","repos_url":"https://api.github.com/users/hamchapman/repos","events_url":"https://api.github.com/users/hamchapman/events{/privacy}","received_events_url":"https://api.github.com/users/hamchapman/received_events","type":"User","site_admin":false},"body":"### What?\r\n\r\nQueue token fetch requests if one is already underway\r\n\r\n### Why?\r\n\r\nFewer requests made to token endpoint\r\n\r\n----\r\n\r\nCC @hamchapman","created_at":"2018-03-20T17:12:50Z","updated_at":"2018-03-20T17:12:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pusher/chatkit-swift/pulls/70/commits","review_comments_url":"https://api.github.com/repos/pusher/chatkit-swift/pulls/70/comments","review_comment_url":"https://api.github.com/repos/pusher/chatkit-swift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pusher/chatkit-swift/issues/70/comments","statuses_url":"https://api.github.com/repos/pusher/chatkit-swift/statuses/0f9017344e661fabb27165d150cc47f7b75ea340","head":{"label":"pusher:queue-requests-on-token-fetch","ref":"queue-requests-on-token-fetch","sha":"0f9017344e661fabb27165d150cc47f7b75ea340","user":{"login":"pusher","id":739550,"avatar_url":"https://avatars0.githubusercontent.com/u/739550?v=4","gravatar_id":"","url":"https://api.github.com/users/pusher","html_url":"https://github.com/pusher","followers_url":"https://api.github.com/users/pusher/followers","following_url":"https://api.github.com/users/pusher/following{/other_user}","gists_url":"https://api.github.com/users/pusher/gists{/gist_id}","starred_url":"https://api.github.com/users/pusher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pusher/subscriptions","organizations_url":"https://api.github.com/users/pusher/orgs","repos_url":"https://api.github.com/users/pusher/repos","events_url":"https://api.github.com/users/pusher/events{/privacy}","received_events_url":"https://api.github.com/users/pusher/received_events","type":"Organization","site_admin":false},"repo":{"id":89255077,"name":"chatkit-swift","full_name":"pusher/chatkit-swift","owner":{"login":"pusher","id":739550,"avatar_url":"https://avatars0.githubusercontent.com/u/739550?v=4","gravatar_id":"","url":"https://api.github.com/users/pusher","html_url":"https://github.com/pusher","followers_url":"https://api.github.com/users/pusher/followers","following_url":"https://api.github.com/users/pusher/following{/other_user}","gists_url":"https://api.github.com/users/pusher/gists{/gist_id}","starred_url":"https://api.github.com/users/pusher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pusher/subscriptions","organizations_url":"https://api.github.com/users/pusher/orgs","repos_url":"https://api.github.com/users/pusher/repos","events_url":"https://api.github.com/users/pusher/events{/privacy}","received_events_url":"https://api.github.com/users/pusher/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pusher/chatkit-swift","description":"Swift SDK for Pusher Chatkit","fork":false,"url":"https://api.github.com/repos/pusher/chatkit-swift","forks_url":"https://api.github.com/repos/pusher/chatkit-swift/forks","keys_url":"https://api.github.com/repos/pusher/chatkit-swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pusher/chatkit-swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pusher/chatkit-swift/teams","hooks_url":"https://api.github.com/repos/pusher/chatkit-swift/hooks","issue_events_url":"https://api.github.com/repos/pusher/chatkit-swift/issues/events{/number}","events_url":"https://api.github.com/repos/pusher/chatkit-swift/events","assignees_url":"https://api.github.com/repos/pusher/chatkit-swift/assignees{/user}","branches_url":"https://api.github.com/repos/pusher/chatkit-swift/branches{/branch}","tags_url":"https://api.github.com/repos/pusher/chatkit-swift/tags","blobs_url":"https://api.github.com/repos/pusher/chatkit-swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pusher/chatkit-swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pusher/chatkit-swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/pusher/chatkit-swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pusher/chatkit-swift/statuses/{sha}","languages_url":"https://api.github.com/repos/pusher/chatkit-swift/languages","stargazers_url":"https://api.github.com/repos/pusher/chatkit-swift/stargazers","contributors_url":"https://api.github.com/repos/pusher/chatkit-swift/contributors","subscribers_url":"https://api.github.com/repos/pusher/chatkit-swift/subscribers","subscription_url":"https://api.github.com/repos/pusher/chatkit-swift/subscription","commits_url":"https://api.github.com/repos/pusher/chatkit-swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/pusher/chatkit-swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/pusher/chatkit-swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/pusher/chatkit-swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/pusher/chatkit-swift/contents/{+path}","compare_url":"https://api.github.com/repos/pusher/chatkit-swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pusher/chatkit-swift/merges","archive_url":"https://api.github.com/repos/pusher/chatkit-swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pusher/chatkit-swift/downloads","issues_url":"https://api.github.com/repos/pusher/chatkit-swift/issues{/number}","pulls_url":"https://api.github.com/repos/pusher/chatkit-swift/pulls{/number}","milestones_url":"https://api.github.com/repos/pusher/chatkit-swift/milestones{/number}","notifications_url":"https://api.github.com/repos/pusher/chatkit-swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pusher/chatkit-swift/labels{/name}","releases_url":"https://api.github.com/repos/pusher/chatkit-swift/releases{/id}","deployments_url":"https://api.github.com/repos/pusher/chatkit-swift/deployments","created_at":"2017-04-24T15:10:52Z","updated_at":"2018-03-20T15:02:55Z","pushed_at":"2018-03-20T17:12:28Z","git_url":"git://github.com/pusher/chatkit-swift.git","ssh_url":"git@github.com:pusher/chatkit-swift.git","clone_url":"https://github.com/pusher/chatkit-swift.git","svn_url":"https://github.com/pusher/chatkit-swift","homepage":"https://pusher.com/chatkit","size":3430,"stargazers_count":13,"watchers_count":13,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":4,"watchers":13,"default_branch":"master"}},"base":{"label":"pusher:master","ref":"master","sha":"aa5bdc317a471881f094522badc893f19729a773","user":{"login":"pusher","id":739550,"avatar_url":"https://avatars0.githubusercontent.com/u/739550?v=4","gravatar_id":"","url":"https://api.github.com/users/pusher","html_url":"https://github.com/pusher","followers_url":"https://api.github.com/users/pusher/followers","following_url":"https://api.github.com/users/pusher/following{/other_user}","gists_url":"https://api.github.com/users/pusher/gists{/gist_id}","starred_url":"https://api.github.com/users/pusher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pusher/subscriptions","organizations_url":"https://api.github.com/users/pusher/orgs","repos_url":"https://api.github.com/users/pusher/repos","events_url":"https://api.github.com/users/pusher/events{/privacy}","received_events_url":"https://api.github.com/users/pusher/received_events","type":"Organization","site_admin":false},"repo":{"id":89255077,"name":"chatkit-swift","full_name":"pusher/chatkit-swift","owner":{"login":"pusher","id":739550,"avatar_url":"https://avatars0.githubusercontent.com/u/739550?v=4","gravatar_id":"","url":"https://api.github.com/users/pusher","html_url":"https://github.com/pusher","followers_url":"https://api.github.com/users/pusher/followers","following_url":"https://api.github.com/users/pusher/following{/other_user}","gists_url":"https://api.github.com/users/pusher/gists{/gist_id}","starred_url":"https://api.github.com/users/pusher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pusher/subscriptions","organizations_url":"https://api.github.com/users/pusher/orgs","repos_url":"https://api.github.com/users/pusher/repos","events_url":"https://api.github.com/users/pusher/events{/privacy}","received_events_url":"https://api.github.com/users/pusher/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pusher/chatkit-swift","description":"Swift SDK for Pusher Chatkit","fork":false,"url":"https://api.github.com/repos/pusher/chatkit-swift","forks_url":"https://api.github.com/repos/pusher/chatkit-swift/forks","keys_url":"https://api.github.com/repos/pusher/chatkit-swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pusher/chatkit-swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pusher/chatkit-swift/teams","hooks_url":"https://api.github.com/repos/pusher/chatkit-swift/hooks","issue_events_url":"https://api.github.com/repos/pusher/chatkit-swift/issues/events{/number}","events_url":"https://api.github.com/repos/pusher/chatkit-swift/events","assignees_url":"https://api.github.com/repos/pusher/chatkit-swift/assignees{/user}","branches_url":"https://api.github.com/repos/pusher/chatkit-swift/branches{/branch}","tags_url":"https://api.github.com/repos/pusher/chatkit-swift/tags","blobs_url":"https://api.github.com/repos/pusher/chatkit-swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pusher/chatkit-swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pusher/chatkit-swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/pusher/chatkit-swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pusher/chatkit-swift/statuses/{sha}","languages_url":"https://api.github.com/repos/pusher/chatkit-swift/languages","stargazers_url":"https://api.github.com/repos/pusher/chatkit-swift/stargazers","contributors_url":"https://api.github.com/repos/pusher/chatkit-swift/contributors","subscribers_url":"https://api.github.com/repos/pusher/chatkit-swift/subscribers","subscription_url":"https://api.github.com/repos/pusher/chatkit-swift/subscription","commits_url":"https://api.github.com/repos/pusher/chatkit-swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/pusher/chatkit-swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/pusher/chatkit-swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/pusher/chatkit-swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/pusher/chatkit-swift/contents/{+path}","compare_url":"https://api.github.com/repos/pusher/chatkit-swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pusher/chatkit-swift/merges","archive_url":"https://api.github.com/repos/pusher/chatkit-swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pusher/chatkit-swift/downloads","issues_url":"https://api.github.com/repos/pusher/chatkit-swift/issues{/number}","pulls_url":"https://api.github.com/repos/pusher/chatkit-swift/pulls{/number}","milestones_url":"https://api.github.com/repos/pusher/chatkit-swift/milestones{/number}","notifications_url":"https://api.github.com/repos/pusher/chatkit-swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pusher/chatkit-swift/labels{/name}","releases_url":"https://api.github.com/repos/pusher/chatkit-swift/releases{/id}","deployments_url":"https://api.github.com/repos/pusher/chatkit-swift/deployments","created_at":"2017-04-24T15:10:52Z","updated_at":"2018-03-20T15:02:55Z","pushed_at":"2018-03-20T17:12:28Z","git_url":"git://github.com/pusher/chatkit-swift.git","ssh_url":"git@github.com:pusher/chatkit-swift.git","clone_url":"https://github.com/pusher/chatkit-swift.git","svn_url":"https://github.com/pusher/chatkit-swift","homepage":"https://pusher.com/chatkit","size":3430,"stargazers_count":13,"watchers_count":13,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":4,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pusher/chatkit-swift/pulls/70"},"html":{"href":"https://github.com/pusher/chatkit-swift/pull/70"},"issue":{"href":"https://api.github.com/repos/pusher/chatkit-swift/issues/70"},"comments":{"href":"https://api.github.com/repos/pusher/chatkit-swift/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/pusher/chatkit-swift/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/pusher/chatkit-swift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pusher/chatkit-swift/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/pusher/chatkit-swift/statuses/0f9017344e661fabb27165d150cc47f7b75ea340"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":99,"deletions":4,"changed_files":8}}
{"actor":{"display_login":"hamchapman"}}