{"action":"created","comment":{"url":"https://api.github.com/repos/ably/ably-python/pulls/comments/36001194","id":36001194,"diff_hunk":"@@ -190,7 +189,7 @@ def create_token_request(self, key_id=None, key_value=None,\n             token_params[\"nonce\"] = self._random()\n \n         req = {\n-            \"id\": key_id,\n+            \"keyName\": key_id,","path":"ably/rest/auth.py","position":37,"original_position":37,"commit_id":"85dfdc0c87f7fcb87275f1c38847d737400df7e6","original_commit_id":"85dfdc0c87f7fcb87275f1c38847d737400df7e6","user":{"login":"fjsj","id":397989,"avatar_url":"https://avatars.githubusercontent.com/u/397989?v=3","gravatar_id":"","url":"https://api.github.com/users/fjsj","html_url":"https://github.com/fjsj","followers_url":"https://api.github.com/users/fjsj/followers","following_url":"https://api.github.com/users/fjsj/following{/other_user}","gists_url":"https://api.github.com/users/fjsj/gists{/gist_id}","starred_url":"https://api.github.com/users/fjsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjsj/subscriptions","organizations_url":"https://api.github.com/users/fjsj/orgs","repos_url":"https://api.github.com/users/fjsj/repos","events_url":"https://api.github.com/users/fjsj/events{/privacy}","received_events_url":"https://api.github.com/users/fjsj/received_events","type":"User","site_admin":false},"body":"this camel case here is inconsistent with the other params, but the server isn't accepting this with snake case. looks like Java already changed this to `key_name`, but we kept `keyName` to pass the tests.","created_at":"2015-07-31T18:25:05Z","updated_at":"2015-07-31T18:25:05Z","html_url":"https://github.com/ably/ably-python/pull/14#discussion_r36001194","pull_request_url":"https://api.github.com/repos/ably/ably-python/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/ably/ably-python/pulls/comments/36001194"},"html":{"href":"https://github.com/ably/ably-python/pull/14#discussion_r36001194"},"pull_request":{"href":"https://api.github.com/repos/ably/ably-python/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/ably/ably-python/pulls/14","id":41366609,"html_url":"https://github.com/ably/ably-python/pull/14","diff_url":"https://github.com/ably/ably-python/pull/14.diff","patch_url":"https://github.com/ably/ably-python/pull/14.patch","issue_url":"https://api.github.com/repos/ably/ably-python/issues/14","number":14,"state":"open","locked":false,"title":"Fix tests except for crypto, messagepack and stats","user":{"login":"aericson","id":692542,"avatar_url":"https://avatars.githubusercontent.com/u/692542?v=3","gravatar_id":"","url":"https://api.github.com/users/aericson","html_url":"https://github.com/aericson","followers_url":"https://api.github.com/users/aericson/followers","following_url":"https://api.github.com/users/aericson/following{/other_user}","gists_url":"https://api.github.com/users/aericson/gists{/gist_id}","starred_url":"https://api.github.com/users/aericson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aericson/subscriptions","organizations_url":"https://api.github.com/users/aericson/orgs","repos_url":"https://api.github.com/users/aericson/repos","events_url":"https://api.github.com/users/aericson/events{/privacy}","received_events_url":"https://api.github.com/users/aericson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-31T18:21:29Z","updated_at":"2015-07-31T18:25:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7bd958b8cafe6e7bb8ead70ca7e968444c416a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ably/ably-python/pulls/14/commits","review_comments_url":"https://api.github.com/repos/ably/ably-python/pulls/14/comments","review_comment_url":"https://api.github.com/repos/ably/ably-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ably/ably-python/issues/14/comments","statuses_url":"https://api.github.com/repos/ably/ably-python/statuses/85dfdc0c87f7fcb87275f1c38847d737400df7e6","head":{"label":"aericson:fixing-tests","ref":"fixing-tests","sha":"85dfdc0c87f7fcb87275f1c38847d737400df7e6","user":{"login":"aericson","id":692542,"avatar_url":"https://avatars.githubusercontent.com/u/692542?v=3","gravatar_id":"","url":"https://api.github.com/users/aericson","html_url":"https://github.com/aericson","followers_url":"https://api.github.com/users/aericson/followers","following_url":"https://api.github.com/users/aericson/following{/other_user}","gists_url":"https://api.github.com/users/aericson/gists{/gist_id}","starred_url":"https://api.github.com/users/aericson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aericson/subscriptions","organizations_url":"https://api.github.com/users/aericson/orgs","repos_url":"https://api.github.com/users/aericson/repos","events_url":"https://api.github.com/users/aericson/events{/privacy}","received_events_url":"https://api.github.com/users/aericson/received_events","type":"User","site_admin":false},"repo":{"id":39962285,"name":"ably-python","full_name":"aericson/ably-python","owner":{"login":"aericson","id":692542,"avatar_url":"https://avatars.githubusercontent.com/u/692542?v=3","gravatar_id":"","url":"https://api.github.com/users/aericson","html_url":"https://github.com/aericson","followers_url":"https://api.github.com/users/aericson/followers","following_url":"https://api.github.com/users/aericson/following{/other_user}","gists_url":"https://api.github.com/users/aericson/gists{/gist_id}","starred_url":"https://api.github.com/users/aericson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aericson/subscriptions","organizations_url":"https://api.github.com/users/aericson/orgs","repos_url":"https://api.github.com/users/aericson/repos","events_url":"https://api.github.com/users/aericson/events{/privacy}","received_events_url":"https://api.github.com/users/aericson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aericson/ably-python","description":"Python REST client for Ably real-time messaging service","fork":true,"url":"https://api.github.com/repos/aericson/ably-python","forks_url":"https://api.github.com/repos/aericson/ably-python/forks","keys_url":"https://api.github.com/repos/aericson/ably-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aericson/ably-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aericson/ably-python/teams","hooks_url":"https://api.github.com/repos/aericson/ably-python/hooks","issue_events_url":"https://api.github.com/repos/aericson/ably-python/issues/events{/number}","events_url":"https://api.github.com/repos/aericson/ably-python/events","assignees_url":"https://api.github.com/repos/aericson/ably-python/assignees{/user}","branches_url":"https://api.github.com/repos/aericson/ably-python/branches{/branch}","tags_url":"https://api.github.com/repos/aericson/ably-python/tags","blobs_url":"https://api.github.com/repos/aericson/ably-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aericson/ably-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aericson/ably-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/aericson/ably-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aericson/ably-python/statuses/{sha}","languages_url":"https://api.github.com/repos/aericson/ably-python/languages","stargazers_url":"https://api.github.com/repos/aericson/ably-python/stargazers","contributors_url":"https://api.github.com/repos/aericson/ably-python/contributors","subscribers_url":"https://api.github.com/repos/aericson/ably-python/subscribers","subscription_url":"https://api.github.com/repos/aericson/ably-python/subscription","commits_url":"https://api.github.com/repos/aericson/ably-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/aericson/ably-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/aericson/ably-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/aericson/ably-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/aericson/ably-python/contents/{+path}","compare_url":"https://api.github.com/repos/aericson/ably-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aericson/ably-python/merges","archive_url":"https://api.github.com/repos/aericson/ably-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aericson/ably-python/downloads","issues_url":"https://api.github.com/repos/aericson/ably-python/issues{/number}","pulls_url":"https://api.github.com/repos/aericson/ably-python/pulls{/number}","milestones_url":"https://api.github.com/repos/aericson/ably-python/milestones{/number}","notifications_url":"https://api.github.com/repos/aericson/ably-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aericson/ably-python/labels{/name}","releases_url":"https://api.github.com/repos/aericson/ably-python/releases{/id}","created_at":"2015-07-30T17:05:44Z","updated_at":"2015-07-30T17:05:45Z","pushed_at":"2015-07-31T18:06:26Z","git_url":"git://github.com/aericson/ably-python.git","ssh_url":"git@github.com:aericson/ably-python.git","clone_url":"https://github.com/aericson/ably-python.git","svn_url":"https://github.com/aericson/ably-python","homepage":null,"size":362,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ably:master","ref":"master","sha":"29646e9771910cf9acab1a3b7f5dd675393da16b","user":{"login":"ably","id":1859245,"avatar_url":"https://avatars.githubusercontent.com/u/1859245?v=3","gravatar_id":"","url":"https://api.github.com/users/ably","html_url":"https://github.com/ably","followers_url":"https://api.github.com/users/ably/followers","following_url":"https://api.github.com/users/ably/following{/other_user}","gists_url":"https://api.github.com/users/ably/gists{/gist_id}","starred_url":"https://api.github.com/users/ably/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ably/subscriptions","organizations_url":"https://api.github.com/users/ably/orgs","repos_url":"https://api.github.com/users/ably/repos","events_url":"https://api.github.com/users/ably/events{/privacy}","received_events_url":"https://api.github.com/users/ably/received_events","type":"Organization","site_admin":false},"repo":{"id":27377485,"name":"ably-python","full_name":"ably/ably-python","owner":{"login":"ably","id":1859245,"avatar_url":"https://avatars.githubusercontent.com/u/1859245?v=3","gravatar_id":"","url":"https://api.github.com/users/ably","html_url":"https://github.com/ably","followers_url":"https://api.github.com/users/ably/followers","following_url":"https://api.github.com/users/ably/following{/other_user}","gists_url":"https://api.github.com/users/ably/gists{/gist_id}","starred_url":"https://api.github.com/users/ably/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ably/subscriptions","organizations_url":"https://api.github.com/users/ably/orgs","repos_url":"https://api.github.com/users/ably/repos","events_url":"https://api.github.com/users/ably/events{/privacy}","received_events_url":"https://api.github.com/users/ably/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ably/ably-python","description":"Python REST client for Ably real-time messaging service","fork":false,"url":"https://api.github.com/repos/ably/ably-python","forks_url":"https://api.github.com/repos/ably/ably-python/forks","keys_url":"https://api.github.com/repos/ably/ably-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ably/ably-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ably/ably-python/teams","hooks_url":"https://api.github.com/repos/ably/ably-python/hooks","issue_events_url":"https://api.github.com/repos/ably/ably-python/issues/events{/number}","events_url":"https://api.github.com/repos/ably/ably-python/events","assignees_url":"https://api.github.com/repos/ably/ably-python/assignees{/user}","branches_url":"https://api.github.com/repos/ably/ably-python/branches{/branch}","tags_url":"https://api.github.com/repos/ably/ably-python/tags","blobs_url":"https://api.github.com/repos/ably/ably-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ably/ably-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ably/ably-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/ably/ably-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ably/ably-python/statuses/{sha}","languages_url":"https://api.github.com/repos/ably/ably-python/languages","stargazers_url":"https://api.github.com/repos/ably/ably-python/stargazers","contributors_url":"https://api.github.com/repos/ably/ably-python/contributors","subscribers_url":"https://api.github.com/repos/ably/ably-python/subscribers","subscription_url":"https://api.github.com/repos/ably/ably-python/subscription","commits_url":"https://api.github.com/repos/ably/ably-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/ably/ably-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/ably/ably-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/ably/ably-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/ably/ably-python/contents/{+path}","compare_url":"https://api.github.com/repos/ably/ably-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ably/ably-python/merges","archive_url":"https://api.github.com/repos/ably/ably-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ably/ably-python/downloads","issues_url":"https://api.github.com/repos/ably/ably-python/issues{/number}","pulls_url":"https://api.github.com/repos/ably/ably-python/pulls{/number}","milestones_url":"https://api.github.com/repos/ably/ably-python/milestones{/number}","notifications_url":"https://api.github.com/repos/ably/ably-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ably/ably-python/labels{/name}","releases_url":"https://api.github.com/repos/ably/ably-python/releases{/id}","created_at":"2014-12-01T12:00:59Z","updated_at":"2015-07-30T18:46:10Z","pushed_at":"2015-07-31T18:21:30Z","git_url":"git://github.com/ably/ably-python.git","ssh_url":"git@github.com:ably/ably-python.git","clone_url":"https://github.com/ably/ably-python.git","svn_url":"https://github.com/ably/ably-python","homepage":null,"size":362,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ably/ably-python/pulls/14"},"html":{"href":"https://github.com/ably/ably-python/pull/14"},"issue":{"href":"https://api.github.com/repos/ably/ably-python/issues/14"},"comments":{"href":"https://api.github.com/repos/ably/ably-python/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/ably/ably-python/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/ably/ably-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ably/ably-python/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/ably/ably-python/statuses/85dfdc0c87f7fcb87275f1c38847d737400df7e6"}}}}