{"action":"created","comment":{"url":"https://api.github.com/repos/Kinto/kinto.py/pulls/comments/40923375","id":40923375,"diff_hunk":"@@ -70,14 +70,13 @@ A collection is where records are stored.\n \n .. code-block:: python\n \n-    # Once the bucket handy, use it to handle collections or groups.\n-    collection = bucket.create_collection('receipts')\n+    client.create_collection('receipts', bucket='payments')\n \n     # Or get an existing one.\n-    collection = bucket.get_collection('receipts')\n+    client.get_collection('receipts', bucket='payments')","path":"README.rst","position":67,"original_position":67,"commit_id":"27c65d4fac29d84b36e8235a261fead9737007a6","original_commit_id":"27c65d4fac29d84b36e8235a261fead9737007a6","user":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"body":"I'd like the client to take the bucket parameter so that by default it uses the client one.","created_at":"2015-10-01T15:01:45Z","updated_at":"2015-10-01T15:01:45Z","html_url":"https://github.com/Kinto/kinto.py/pull/10#discussion_r40923375","pull_request_url":"https://api.github.com/repos/Kinto/kinto.py/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/comments/40923375"},"html":{"href":"https://github.com/Kinto/kinto.py/pull/10#discussion_r40923375"},"pull_request":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/Kinto/kinto.py/pulls/10","id":46519475,"html_url":"https://github.com/Kinto/kinto.py/pull/10","diff_url":"https://github.com/Kinto/kinto.py/pull/10.diff","patch_url":"https://github.com/Kinto/kinto.py/pull/10.patch","issue_url":"https://api.github.com/repos/Kinto/kinto.py/issues/10","number":10,"state":"open","locked":false,"title":"Api rework","user":{"login":"ametaireau","id":67073,"avatar_url":"https://avatars.githubusercontent.com/u/67073?v=3","gravatar_id":"","url":"https://api.github.com/users/ametaireau","html_url":"https://github.com/ametaireau","followers_url":"https://api.github.com/users/ametaireau/followers","following_url":"https://api.github.com/users/ametaireau/following{/other_user}","gists_url":"https://api.github.com/users/ametaireau/gists{/gist_id}","starred_url":"https://api.github.com/users/ametaireau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ametaireau/subscriptions","organizations_url":"https://api.github.com/users/ametaireau/orgs","repos_url":"https://api.github.com/users/ametaireau/repos","events_url":"https://api.github.com/users/ametaireau/events{/privacy}","received_events_url":"https://api.github.com/users/ametaireau/received_events","type":"User","site_admin":false},"body":"I would like to have early feedback on this before breaking all the APIs. @leplatrem @Natim r?","created_at":"2015-10-01T12:54:40Z","updated_at":"2015-10-01T15:01:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05b7c21029c84c9c6bd370f49aafacd5a34cf5ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kinto/kinto.py/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Kinto/kinto.py/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Kinto/kinto.py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kinto/kinto.py/issues/10/comments","statuses_url":"https://api.github.com/repos/Kinto/kinto.py/statuses/27c65d4fac29d84b36e8235a261fead9737007a6","head":{"label":"Kinto:api-rework","ref":"api-rework","sha":"27c65d4fac29d84b36e8235a261fead9737007a6","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":37655419,"name":"kinto.py","full_name":"Kinto/kinto.py","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto.py","description":"Python library to interact with Kinto","fork":false,"url":"https://api.github.com/repos/Kinto/kinto.py","forks_url":"https://api.github.com/repos/Kinto/kinto.py/forks","keys_url":"https://api.github.com/repos/Kinto/kinto.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto.py/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto.py/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto.py/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto.py/events","assignees_url":"https://api.github.com/repos/Kinto/kinto.py/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto.py/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto.py/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto.py/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto.py/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto.py/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto.py/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto.py/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto.py/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto.py/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto.py/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto.py/merges","archive_url":"https://api.github.com/repos/Kinto/kinto.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto.py/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto.py/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto.py/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto.py/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto.py/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto.py/releases{/id}","created_at":"2015-06-18T11:24:34Z","updated_at":"2015-08-10T15:49:06Z","pushed_at":"2015-10-01T12:54:41Z","git_url":"git://github.com/Kinto/kinto.py.git","ssh_url":"git@github.com:Kinto/kinto.py.git","clone_url":"https://github.com/Kinto/kinto.py.git","svn_url":"https://github.com/Kinto/kinto.py","homepage":null,"size":344,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"Kinto:master","ref":"master","sha":"8c6ac669b6f8546c468ef1ee1841df2cb0e8b58f","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":37655419,"name":"kinto.py","full_name":"Kinto/kinto.py","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto.py","description":"Python library to interact with Kinto","fork":false,"url":"https://api.github.com/repos/Kinto/kinto.py","forks_url":"https://api.github.com/repos/Kinto/kinto.py/forks","keys_url":"https://api.github.com/repos/Kinto/kinto.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto.py/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto.py/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto.py/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto.py/events","assignees_url":"https://api.github.com/repos/Kinto/kinto.py/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto.py/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto.py/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto.py/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto.py/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto.py/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto.py/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto.py/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto.py/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto.py/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto.py/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto.py/merges","archive_url":"https://api.github.com/repos/Kinto/kinto.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto.py/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto.py/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto.py/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto.py/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto.py/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto.py/releases{/id}","created_at":"2015-06-18T11:24:34Z","updated_at":"2015-08-10T15:49:06Z","pushed_at":"2015-10-01T12:54:41Z","git_url":"git://github.com/Kinto/kinto.py.git","ssh_url":"git@github.com:Kinto/kinto.py.git","clone_url":"https://github.com/Kinto/kinto.py.git","svn_url":"https://github.com/Kinto/kinto.py","homepage":null,"size":344,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/10"},"html":{"href":"https://github.com/Kinto/kinto.py/pull/10"},"issue":{"href":"https://api.github.com/repos/Kinto/kinto.py/issues/10"},"comments":{"href":"https://api.github.com/repos/Kinto/kinto.py/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kinto/kinto.py/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Kinto/kinto.py/statuses/27c65d4fac29d84b36e8235a261fead9737007a6"}}}}