{"action":"created","comment":{"url":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/comments/82563590","pull_request_review_id":3461617,"id":82563590,"diff_hunk":"@@ -168,33 +210,46 @@ A record is a dict with the \"permissions\" and \"data\" keys.\n \n .. code-block:: python\n \n-    # You can pass a python dictionary to create the record\n-    # bucket='default' can be omitted since it's the default value\n+    # You can pass a python dictionary to create the record.\n+    client.create_record(data={'status': 'done', title: 'Todo #1'},\n+                         collection='todos', bucket='default')\n \n-    client.create_record(data={'id': 1234, status: 'done', title: 'Todo #1'},\n+    # You can use id to specify the record id when creating it.\n+    client.create_record(id='todo2', data={'status': 'doing', 'title': 'Todo #2'},\n                          collection='todos', bucket='default')\n \n-    # Retrieve all records.\n+    # Or get an existing one by its id.\n+    record = client.get_record('todo2', collection='todos', bucket='default')\n+\n+    # Or Retrieve all records.\n     records = client.get_records(collection='todos', bucket='default')\n \n-    # Retrieve records timestamp.\n+    # Or retrieve records timestamp.\n     records_timestamp = client.get_records_timestamp(collection='todos', bucket='default')\n \n-    # Retrieve a specific record and update it.\n+    # To retrieve a specific record and update it.\n     record = client.get_record('89881454-e4e9-4ef0-99a9-404d95900352',\n                                collection='todos', bucket='default')\n+    record['status'] = 'doing'\n     client.update_record(record, collection='todos', bucket='default')\n \n-    # Update multiple records at once.\n+    # Or update it by its id.\n+    client.update_record({'status': 'unknown'}, id='todo2', collection='todos', bucket='default')\n+\n+    # Or patch some fields.\n+    client.patch_record({'assignee': 'bob'}, id='todo2', collection='todos', bucket='default')\n+\n+    # Or Update multiple records at once.","path":"README.rst","position":140,"original_position":140,"commit_id":"b9fc7d39e5e1d582995cdf338cb81ccdf378185d","original_commit_id":"b9fc7d39e5e1d582995cdf338cb81ccdf378185d","user":{"login":"leplatrem","id":546692,"avatar_url":"https://avatars.githubusercontent.com/u/546692?v=3","gravatar_id":"","url":"https://api.github.com/users/leplatrem","html_url":"https://github.com/leplatrem","followers_url":"https://api.github.com/users/leplatrem/followers","following_url":"https://api.github.com/users/leplatrem/following{/other_user}","gists_url":"https://api.github.com/users/leplatrem/gists{/gist_id}","starred_url":"https://api.github.com/users/leplatrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leplatrem/subscriptions","organizations_url":"https://api.github.com/users/leplatrem/orgs","repos_url":"https://api.github.com/users/leplatrem/repos","events_url":"https://api.github.com/users/leplatrem/events{/privacy}","received_events_url":"https://api.github.com/users/leplatrem/received_events","type":"User","site_admin":false},"body":"nitpick: capital U","created_at":"2016-10-10T08:45:18Z","updated_at":"2016-10-10T08:45:18Z","html_url":"https://github.com/Kinto/kinto-http.py/pull/102#discussion_r82563590","pull_request_url":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/comments/82563590"},"html":{"href":"https://github.com/Kinto/kinto-http.py/pull/102#discussion_r82563590"},"pull_request":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/102","id":88569417,"html_url":"https://github.com/Kinto/kinto-http.py/pull/102","diff_url":"https://github.com/Kinto/kinto-http.py/pull/102.diff","patch_url":"https://github.com/Kinto/kinto-http.py/pull/102.patch","issue_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/102","number":102,"state":"open","locked":false,"title":"Include missing methods on README (fixes #100 and #101)","user":{"login":"gabisurita","id":4023375,"avatar_url":"https://avatars.githubusercontent.com/u/4023375?v=3","gravatar_id":"","url":"https://api.github.com/users/gabisurita","html_url":"https://github.com/gabisurita","followers_url":"https://api.github.com/users/gabisurita/followers","following_url":"https://api.github.com/users/gabisurita/following{/other_user}","gists_url":"https://api.github.com/users/gabisurita/gists{/gist_id}","starred_url":"https://api.github.com/users/gabisurita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabisurita/subscriptions","organizations_url":"https://api.github.com/users/gabisurita/orgs","repos_url":"https://api.github.com/users/gabisurita/repos","events_url":"https://api.github.com/users/gabisurita/events{/privacy}","received_events_url":"https://api.github.com/users/gabisurita/received_events","type":"User","site_admin":false},"body":"Fixes #100 and #101.\r\n\r\nInclude all the missing methods on the documentation:\r\n- clone() \r\n- get_buckets()\r\n- patch_bucket()\r\n- get_groups()\r\n- update_group()\r\n- patch_group()\r\n- get_collections()\r\n- update_collection()\r\n- patch_collection()\r\n- patch_record()","created_at":"2016-10-09T05:31:43Z","updated_at":"2016-10-10T08:46:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"289ed6e9acf3d9dc98c0f578f727a0127964772c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/102/commits","review_comments_url":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/102/comments","review_comment_url":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/102/comments","statuses_url":"https://api.github.com/repos/Kinto/kinto-http.py/statuses/b9fc7d39e5e1d582995cdf338cb81ccdf378185d","head":{"label":"gabisurita:fix_missing_doc_methods","ref":"fix_missing_doc_methods","sha":"b9fc7d39e5e1d582995cdf338cb81ccdf378185d","user":{"login":"gabisurita","id":4023375,"avatar_url":"https://avatars.githubusercontent.com/u/4023375?v=3","gravatar_id":"","url":"https://api.github.com/users/gabisurita","html_url":"https://github.com/gabisurita","followers_url":"https://api.github.com/users/gabisurita/followers","following_url":"https://api.github.com/users/gabisurita/following{/other_user}","gists_url":"https://api.github.com/users/gabisurita/gists{/gist_id}","starred_url":"https://api.github.com/users/gabisurita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabisurita/subscriptions","organizations_url":"https://api.github.com/users/gabisurita/orgs","repos_url":"https://api.github.com/users/gabisurita/repos","events_url":"https://api.github.com/users/gabisurita/events{/privacy}","received_events_url":"https://api.github.com/users/gabisurita/received_events","type":"User","site_admin":false},"repo":{"id":70368797,"name":"kinto-http.py","full_name":"gabisurita/kinto-http.py","owner":{"login":"gabisurita","id":4023375,"avatar_url":"https://avatars.githubusercontent.com/u/4023375?v=3","gravatar_id":"","url":"https://api.github.com/users/gabisurita","html_url":"https://github.com/gabisurita","followers_url":"https://api.github.com/users/gabisurita/followers","following_url":"https://api.github.com/users/gabisurita/following{/other_user}","gists_url":"https://api.github.com/users/gabisurita/gists{/gist_id}","starred_url":"https://api.github.com/users/gabisurita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabisurita/subscriptions","organizations_url":"https://api.github.com/users/gabisurita/orgs","repos_url":"https://api.github.com/users/gabisurita/repos","events_url":"https://api.github.com/users/gabisurita/events{/privacy}","received_events_url":"https://api.github.com/users/gabisurita/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gabisurita/kinto-http.py","description":"Python library to interact with Kinto","fork":true,"url":"https://api.github.com/repos/gabisurita/kinto-http.py","forks_url":"https://api.github.com/repos/gabisurita/kinto-http.py/forks","keys_url":"https://api.github.com/repos/gabisurita/kinto-http.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabisurita/kinto-http.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabisurita/kinto-http.py/teams","hooks_url":"https://api.github.com/repos/gabisurita/kinto-http.py/hooks","issue_events_url":"https://api.github.com/repos/gabisurita/kinto-http.py/issues/events{/number}","events_url":"https://api.github.com/repos/gabisurita/kinto-http.py/events","assignees_url":"https://api.github.com/repos/gabisurita/kinto-http.py/assignees{/user}","branches_url":"https://api.github.com/repos/gabisurita/kinto-http.py/branches{/branch}","tags_url":"https://api.github.com/repos/gabisurita/kinto-http.py/tags","blobs_url":"https://api.github.com/repos/gabisurita/kinto-http.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabisurita/kinto-http.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabisurita/kinto-http.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabisurita/kinto-http.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabisurita/kinto-http.py/statuses/{sha}","languages_url":"https://api.github.com/repos/gabisurita/kinto-http.py/languages","stargazers_url":"https://api.github.com/repos/gabisurita/kinto-http.py/stargazers","contributors_url":"https://api.github.com/repos/gabisurita/kinto-http.py/contributors","subscribers_url":"https://api.github.com/repos/gabisurita/kinto-http.py/subscribers","subscription_url":"https://api.github.com/repos/gabisurita/kinto-http.py/subscription","commits_url":"https://api.github.com/repos/gabisurita/kinto-http.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabisurita/kinto-http.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabisurita/kinto-http.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabisurita/kinto-http.py/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabisurita/kinto-http.py/contents/{+path}","compare_url":"https://api.github.com/repos/gabisurita/kinto-http.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabisurita/kinto-http.py/merges","archive_url":"https://api.github.com/repos/gabisurita/kinto-http.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabisurita/kinto-http.py/downloads","issues_url":"https://api.github.com/repos/gabisurita/kinto-http.py/issues{/number}","pulls_url":"https://api.github.com/repos/gabisurita/kinto-http.py/pulls{/number}","milestones_url":"https://api.github.com/repos/gabisurita/kinto-http.py/milestones{/number}","notifications_url":"https://api.github.com/repos/gabisurita/kinto-http.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabisurita/kinto-http.py/labels{/name}","releases_url":"https://api.github.com/repos/gabisurita/kinto-http.py/releases{/id}","deployments_url":"https://api.github.com/repos/gabisurita/kinto-http.py/deployments","created_at":"2016-10-09T01:56:04Z","updated_at":"2016-10-09T01:56:05Z","pushed_at":"2016-10-09T05:22:46Z","git_url":"git://github.com/gabisurita/kinto-http.py.git","ssh_url":"git@github.com:gabisurita/kinto-http.py.git","clone_url":"https://github.com/gabisurita/kinto-http.py.git","svn_url":"https://github.com/gabisurita/kinto-http.py","homepage":null,"size":302,"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":"Kinto:master","ref":"master","sha":"48b98d81b812806b853e47e289acf36e48f745c7","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-http.py","full_name":"Kinto/kinto-http.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-http.py","description":"Python library to interact with Kinto","fork":false,"url":"https://api.github.com/repos/Kinto/kinto-http.py","forks_url":"https://api.github.com/repos/Kinto/kinto-http.py/forks","keys_url":"https://api.github.com/repos/Kinto/kinto-http.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto-http.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto-http.py/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto-http.py/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto-http.py/events","assignees_url":"https://api.github.com/repos/Kinto/kinto-http.py/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto-http.py/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto-http.py/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto-http.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto-http.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto-http.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto-http.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto-http.py/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto-http.py/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto-http.py/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto-http.py/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto-http.py/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto-http.py/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto-http.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto-http.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto-http.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto-http.py/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto-http.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto-http.py/merges","archive_url":"https://api.github.com/repos/Kinto/kinto-http.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto-http.py/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto-http.py/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto-http.py/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto-http.py/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto-http.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto-http.py/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto-http.py/releases{/id}","deployments_url":"https://api.github.com/repos/Kinto/kinto-http.py/deployments","created_at":"2015-06-18T11:24:34Z","updated_at":"2016-10-09T12:51:35Z","pushed_at":"2016-10-09T05:31:43Z","git_url":"git://github.com/Kinto/kinto-http.py.git","ssh_url":"git@github.com:Kinto/kinto-http.py.git","clone_url":"https://github.com/Kinto/kinto-http.py.git","svn_url":"https://github.com/Kinto/kinto-http.py","homepage":null,"size":341,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":10,"forks":12,"open_issues":10,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/102"},"html":{"href":"https://github.com/Kinto/kinto-http.py/pull/102"},"issue":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/issues/102"},"comments":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/Kinto/kinto-http.py/statuses/b9fc7d39e5e1d582995cdf338cb81ccdf378185d"}}}}
{"actor":{"display_login":"leplatrem"}}