{"action":"created","comment":{"url":"https://api.github.com/repos/evansde77/metson/pulls/comments/38318760","id":38318760,"diff_hunk":"@@ -489,6 +489,32 @@ def unshare_database(self, username):\n         resp.raise_for_status()\n         return resp.json()\n \n+    def index(self):\n+        \"\"\"\n+        GET /db/_index Returns existing indexes\n+        \"\"\"\n+        pass\n+\n+    def find(self, selector, **kwargs):\n+        \"\"\"\n+        POST /db/_find","path":"src/cloudant/database.py","position":12,"original_position":12,"commit_id":"b4635d96b45bb3b990a76c559d52e01c4fb472b4","original_commit_id":"b4635d96b45bb3b990a76c559d52e01c4fb472b4","user":{"login":"petevg","id":183694,"avatar_url":"https://avatars.githubusercontent.com/u/183694?v=3","gravatar_id":"","url":"https://api.github.com/users/petevg","html_url":"https://github.com/petevg","followers_url":"https://api.github.com/users/petevg/followers","following_url":"https://api.github.com/users/petevg/following{/other_user}","gists_url":"https://api.github.com/users/petevg/gists{/gist_id}","starred_url":"https://api.github.com/users/petevg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevg/subscriptions","organizations_url":"https://api.github.com/users/petevg/orgs","repos_url":"https://api.github.com/users/petevg/repos","events_url":"https://api.github.com/users/petevg/events{/privacy}","received_events_url":"https://api.github.com/users/petevg/received_events","type":"User","site_admin":false},"body":"Is it really a POST on the other end? That's sad ... a search should really be a GET.","created_at":"2015-08-31T14:45:27Z","updated_at":"2015-08-31T14:45:27Z","html_url":"https://github.com/evansde77/metson/pull/32#discussion_r38318760","pull_request_url":"https://api.github.com/repos/evansde77/metson/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/evansde77/metson/pulls/comments/38318760"},"html":{"href":"https://github.com/evansde77/metson/pull/32#discussion_r38318760"},"pull_request":{"href":"https://api.github.com/repos/evansde77/metson/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/evansde77/metson/pulls/32","id":43676514,"html_url":"https://github.com/evansde77/metson/pull/32","diff_url":"https://github.com/evansde77/metson/pull/32.diff","patch_url":"https://github.com/evansde77/metson/pull/32.patch","issue_url":"https://api.github.com/repos/evansde77/metson/issues/32","number":32,"state":"open","locked":false,"title":"outline for cloudant query/search","user":{"login":"jcounts","id":4984714,"avatar_url":"https://avatars.githubusercontent.com/u/4984714?v=3","gravatar_id":"","url":"https://api.github.com/users/jcounts","html_url":"https://github.com/jcounts","followers_url":"https://api.github.com/users/jcounts/followers","following_url":"https://api.github.com/users/jcounts/following{/other_user}","gists_url":"https://api.github.com/users/jcounts/gists{/gist_id}","starred_url":"https://api.github.com/users/jcounts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcounts/subscriptions","organizations_url":"https://api.github.com/users/jcounts/orgs","repos_url":"https://api.github.com/users/jcounts/repos","events_url":"https://api.github.com/users/jcounts/events{/privacy}","received_events_url":"https://api.github.com/users/jcounts/received_events","type":"User","site_admin":false},"body":"@evansde77 @petevg @skscharr \r\n\r\nJust getting a basic outline of a few things needed to implement Cloudant query.","created_at":"2015-08-28T22:00:21Z","updated_at":"2015-08-31T14:45:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1abf295f797996031d026d6a80480e523ff1e7b7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/evansde77/metson/pulls/32/commits","review_comments_url":"https://api.github.com/repos/evansde77/metson/pulls/32/comments","review_comment_url":"https://api.github.com/repos/evansde77/metson/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evansde77/metson/issues/32/comments","statuses_url":"https://api.github.com/repos/evansde77/metson/statuses/b4635d96b45bb3b990a76c559d52e01c4fb472b4","head":{"label":"evansde77:feature/cloudant-query","ref":"feature/cloudant-query","sha":"b4635d96b45bb3b990a76c559d52e01c4fb472b4","user":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"repo":{"id":21660814,"name":"metson","full_name":"evansde77/metson","owner":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evansde77/metson","description":"Prototype cloudant API. If it all goes wrong, you can just blame Metson.","fork":false,"url":"https://api.github.com/repos/evansde77/metson","forks_url":"https://api.github.com/repos/evansde77/metson/forks","keys_url":"https://api.github.com/repos/evansde77/metson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evansde77/metson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evansde77/metson/teams","hooks_url":"https://api.github.com/repos/evansde77/metson/hooks","issue_events_url":"https://api.github.com/repos/evansde77/metson/issues/events{/number}","events_url":"https://api.github.com/repos/evansde77/metson/events","assignees_url":"https://api.github.com/repos/evansde77/metson/assignees{/user}","branches_url":"https://api.github.com/repos/evansde77/metson/branches{/branch}","tags_url":"https://api.github.com/repos/evansde77/metson/tags","blobs_url":"https://api.github.com/repos/evansde77/metson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evansde77/metson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evansde77/metson/git/refs{/sha}","trees_url":"https://api.github.com/repos/evansde77/metson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evansde77/metson/statuses/{sha}","languages_url":"https://api.github.com/repos/evansde77/metson/languages","stargazers_url":"https://api.github.com/repos/evansde77/metson/stargazers","contributors_url":"https://api.github.com/repos/evansde77/metson/contributors","subscribers_url":"https://api.github.com/repos/evansde77/metson/subscribers","subscription_url":"https://api.github.com/repos/evansde77/metson/subscription","commits_url":"https://api.github.com/repos/evansde77/metson/commits{/sha}","git_commits_url":"https://api.github.com/repos/evansde77/metson/git/commits{/sha}","comments_url":"https://api.github.com/repos/evansde77/metson/comments{/number}","issue_comment_url":"https://api.github.com/repos/evansde77/metson/issues/comments{/number}","contents_url":"https://api.github.com/repos/evansde77/metson/contents/{+path}","compare_url":"https://api.github.com/repos/evansde77/metson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evansde77/metson/merges","archive_url":"https://api.github.com/repos/evansde77/metson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evansde77/metson/downloads","issues_url":"https://api.github.com/repos/evansde77/metson/issues{/number}","pulls_url":"https://api.github.com/repos/evansde77/metson/pulls{/number}","milestones_url":"https://api.github.com/repos/evansde77/metson/milestones{/number}","notifications_url":"https://api.github.com/repos/evansde77/metson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evansde77/metson/labels{/name}","releases_url":"https://api.github.com/repos/evansde77/metson/releases{/id}","created_at":"2014-07-09T16:53:14Z","updated_at":"2015-01-26T22:51:45Z","pushed_at":"2015-08-31T13:59:47Z","git_url":"git://github.com/evansde77/metson.git","ssh_url":"git@github.com:evansde77/metson.git","clone_url":"https://github.com/evansde77/metson.git","svn_url":"https://github.com/evansde77/metson","homepage":null,"size":806,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"develop"}},"base":{"label":"evansde77:develop","ref":"develop","sha":"126f79cad93a2e88ed867016821ae92392278eab","user":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"repo":{"id":21660814,"name":"metson","full_name":"evansde77/metson","owner":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evansde77/metson","description":"Prototype cloudant API. If it all goes wrong, you can just blame Metson.","fork":false,"url":"https://api.github.com/repos/evansde77/metson","forks_url":"https://api.github.com/repos/evansde77/metson/forks","keys_url":"https://api.github.com/repos/evansde77/metson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evansde77/metson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evansde77/metson/teams","hooks_url":"https://api.github.com/repos/evansde77/metson/hooks","issue_events_url":"https://api.github.com/repos/evansde77/metson/issues/events{/number}","events_url":"https://api.github.com/repos/evansde77/metson/events","assignees_url":"https://api.github.com/repos/evansde77/metson/assignees{/user}","branches_url":"https://api.github.com/repos/evansde77/metson/branches{/branch}","tags_url":"https://api.github.com/repos/evansde77/metson/tags","blobs_url":"https://api.github.com/repos/evansde77/metson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evansde77/metson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evansde77/metson/git/refs{/sha}","trees_url":"https://api.github.com/repos/evansde77/metson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evansde77/metson/statuses/{sha}","languages_url":"https://api.github.com/repos/evansde77/metson/languages","stargazers_url":"https://api.github.com/repos/evansde77/metson/stargazers","contributors_url":"https://api.github.com/repos/evansde77/metson/contributors","subscribers_url":"https://api.github.com/repos/evansde77/metson/subscribers","subscription_url":"https://api.github.com/repos/evansde77/metson/subscription","commits_url":"https://api.github.com/repos/evansde77/metson/commits{/sha}","git_commits_url":"https://api.github.com/repos/evansde77/metson/git/commits{/sha}","comments_url":"https://api.github.com/repos/evansde77/metson/comments{/number}","issue_comment_url":"https://api.github.com/repos/evansde77/metson/issues/comments{/number}","contents_url":"https://api.github.com/repos/evansde77/metson/contents/{+path}","compare_url":"https://api.github.com/repos/evansde77/metson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evansde77/metson/merges","archive_url":"https://api.github.com/repos/evansde77/metson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evansde77/metson/downloads","issues_url":"https://api.github.com/repos/evansde77/metson/issues{/number}","pulls_url":"https://api.github.com/repos/evansde77/metson/pulls{/number}","milestones_url":"https://api.github.com/repos/evansde77/metson/milestones{/number}","notifications_url":"https://api.github.com/repos/evansde77/metson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evansde77/metson/labels{/name}","releases_url":"https://api.github.com/repos/evansde77/metson/releases{/id}","created_at":"2014-07-09T16:53:14Z","updated_at":"2015-01-26T22:51:45Z","pushed_at":"2015-08-31T13:59:47Z","git_url":"git://github.com/evansde77/metson.git","ssh_url":"git@github.com:evansde77/metson.git","clone_url":"https://github.com/evansde77/metson.git","svn_url":"https://github.com/evansde77/metson","homepage":null,"size":806,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/evansde77/metson/pulls/32"},"html":{"href":"https://github.com/evansde77/metson/pull/32"},"issue":{"href":"https://api.github.com/repos/evansde77/metson/issues/32"},"comments":{"href":"https://api.github.com/repos/evansde77/metson/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/evansde77/metson/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/evansde77/metson/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evansde77/metson/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/evansde77/metson/statuses/b4635d96b45bb3b990a76c559d52e01c4fb472b4"}}}}