{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls/42","id":58220813,"html_url":"https://github.com/couchbaselabs/GrocerySync-Android/pull/42","diff_url":"https://github.com/couchbaselabs/GrocerySync-Android/pull/42.diff","patch_url":"https://github.com/couchbaselabs/GrocerySync-Android/pull/42.patch","issue_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/42","number":42,"state":"open","locked":false,"title":"Add ability to toggle wifi in grocery-sync app","user":{"login":"sethrosetter","id":1365736,"avatar_url":"https://avatars.githubusercontent.com/u/1365736?v=3","gravatar_id":"","url":"https://api.github.com/users/sethrosetter","html_url":"https://github.com/sethrosetter","followers_url":"https://api.github.com/users/sethrosetter/followers","following_url":"https://api.github.com/users/sethrosetter/following{/other_user}","gists_url":"https://api.github.com/users/sethrosetter/gists{/gist_id}","starred_url":"https://api.github.com/users/sethrosetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethrosetter/subscriptions","organizations_url":"https://api.github.com/users/sethrosetter/orgs","repos_url":"https://api.github.com/users/sethrosetter/repos","events_url":"https://api.github.com/users/sethrosetter/events{/privacy}","received_events_url":"https://api.github.com/users/sethrosetter/received_events","type":"User","site_admin":false},"body":"@hideki I wasn't sure what branch to target this PR on, so feel free to change as you see fit. \r\n\r\n- This adds the ability to toggle Wifi in app.\r\nNOTE: I had to bump the min API version to 11 to use the setShowAsAction method.\r\n\r\n![screenshot 2016-02-03 15 49 33](https://cloud.githubusercontent.com/assets/1365736/12800970/c8218c40-ca8d-11e5-88a0-9cf0cbb0cdf8.png)\r\n","created_at":"2016-02-03T23:51:00Z","updated_at":"2016-02-03T23:51:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3dce9b0a0ec8f241cfe75065855c98f876338c8e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls/42/commits","review_comments_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls/42/comments","review_comment_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/42/comments","statuses_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/statuses/4291ca1ee0d083481c85ff8045e6d2ce88749171","head":{"label":"couchbaselabs:feature/add-wifi-toggle","ref":"feature/add-wifi-toggle","sha":"4291ca1ee0d083481c85ff8045e6d2ce88749171","user":{"login":"couchbaselabs","id":636956,"avatar_url":"https://avatars.githubusercontent.com/u/636956?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbaselabs","html_url":"https://github.com/couchbaselabs","followers_url":"https://api.github.com/users/couchbaselabs/followers","following_url":"https://api.github.com/users/couchbaselabs/following{/other_user}","gists_url":"https://api.github.com/users/couchbaselabs/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbaselabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbaselabs/subscriptions","organizations_url":"https://api.github.com/users/couchbaselabs/orgs","repos_url":"https://api.github.com/users/couchbaselabs/repos","events_url":"https://api.github.com/users/couchbaselabs/events{/privacy}","received_events_url":"https://api.github.com/users/couchbaselabs/received_events","type":"Organization","site_admin":false},"repo":{"id":10271055,"name":"GrocerySync-Android","full_name":"couchbaselabs/GrocerySync-Android","owner":{"login":"couchbaselabs","id":636956,"avatar_url":"https://avatars.githubusercontent.com/u/636956?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbaselabs","html_url":"https://github.com/couchbaselabs","followers_url":"https://api.github.com/users/couchbaselabs/followers","following_url":"https://api.github.com/users/couchbaselabs/following{/other_user}","gists_url":"https://api.github.com/users/couchbaselabs/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbaselabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbaselabs/subscriptions","organizations_url":"https://api.github.com/users/couchbaselabs/orgs","repos_url":"https://api.github.com/users/couchbaselabs/repos","events_url":"https://api.github.com/users/couchbaselabs/events{/privacy}","received_events_url":"https://api.github.com/users/couchbaselabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/couchbaselabs/GrocerySync-Android","description":"Couchbase Lite demo app for Android: A simple synced shopping list","fork":false,"url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android","forks_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/forks","keys_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/teams","hooks_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/hooks","issue_events_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/events{/number}","events_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/events","assignees_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/assignees{/user}","branches_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/branches{/branch}","tags_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/tags","blobs_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/languages","stargazers_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/stargazers","contributors_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/contributors","subscribers_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/subscribers","subscription_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/subscription","commits_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/contents/{+path}","compare_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/merges","archive_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/downloads","issues_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues{/number}","pulls_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/labels{/name}","releases_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/releases{/id}","deployments_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/deployments","created_at":"2013-05-24T17:03:09Z","updated_at":"2016-01-29T17:32:21Z","pushed_at":"2016-02-03T23:51:01Z","git_url":"git://github.com/couchbaselabs/GrocerySync-Android.git","ssh_url":"git@github.com:couchbaselabs/GrocerySync-Android.git","clone_url":"https://github.com/couchbaselabs/GrocerySync-Android.git","svn_url":"https://github.com/couchbaselabs/GrocerySync-Android","homepage":null,"size":31526,"stargazers_count":100,"watchers_count":100,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":8,"forks":51,"open_issues":8,"watchers":100,"default_branch":"master"}},"base":{"label":"couchbaselabs:release/1.2.0-sqlite","ref":"release/1.2.0-sqlite","sha":"12448208dcf05246a8cb08ecbf41d650119f5f5b","user":{"login":"couchbaselabs","id":636956,"avatar_url":"https://avatars.githubusercontent.com/u/636956?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbaselabs","html_url":"https://github.com/couchbaselabs","followers_url":"https://api.github.com/users/couchbaselabs/followers","following_url":"https://api.github.com/users/couchbaselabs/following{/other_user}","gists_url":"https://api.github.com/users/couchbaselabs/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbaselabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbaselabs/subscriptions","organizations_url":"https://api.github.com/users/couchbaselabs/orgs","repos_url":"https://api.github.com/users/couchbaselabs/repos","events_url":"https://api.github.com/users/couchbaselabs/events{/privacy}","received_events_url":"https://api.github.com/users/couchbaselabs/received_events","type":"Organization","site_admin":false},"repo":{"id":10271055,"name":"GrocerySync-Android","full_name":"couchbaselabs/GrocerySync-Android","owner":{"login":"couchbaselabs","id":636956,"avatar_url":"https://avatars.githubusercontent.com/u/636956?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbaselabs","html_url":"https://github.com/couchbaselabs","followers_url":"https://api.github.com/users/couchbaselabs/followers","following_url":"https://api.github.com/users/couchbaselabs/following{/other_user}","gists_url":"https://api.github.com/users/couchbaselabs/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbaselabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbaselabs/subscriptions","organizations_url":"https://api.github.com/users/couchbaselabs/orgs","repos_url":"https://api.github.com/users/couchbaselabs/repos","events_url":"https://api.github.com/users/couchbaselabs/events{/privacy}","received_events_url":"https://api.github.com/users/couchbaselabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/couchbaselabs/GrocerySync-Android","description":"Couchbase Lite demo app for Android: A simple synced shopping list","fork":false,"url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android","forks_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/forks","keys_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/teams","hooks_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/hooks","issue_events_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/events{/number}","events_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/events","assignees_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/assignees{/user}","branches_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/branches{/branch}","tags_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/tags","blobs_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/languages","stargazers_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/stargazers","contributors_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/contributors","subscribers_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/subscribers","subscription_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/subscription","commits_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/contents/{+path}","compare_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/merges","archive_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/downloads","issues_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues{/number}","pulls_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/labels{/name}","releases_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/releases{/id}","deployments_url":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/deployments","created_at":"2013-05-24T17:03:09Z","updated_at":"2016-01-29T17:32:21Z","pushed_at":"2016-02-03T23:51:01Z","git_url":"git://github.com/couchbaselabs/GrocerySync-Android.git","ssh_url":"git@github.com:couchbaselabs/GrocerySync-Android.git","clone_url":"https://github.com/couchbaselabs/GrocerySync-Android.git","svn_url":"https://github.com/couchbaselabs/GrocerySync-Android","homepage":null,"size":31526,"stargazers_count":100,"watchers_count":100,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":8,"forks":51,"open_issues":8,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls/42"},"html":{"href":"https://github.com/couchbaselabs/GrocerySync-Android/pull/42"},"issue":{"href":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/42"},"comments":{"href":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/couchbaselabs/GrocerySync-Android/statuses/4291ca1ee0d083481c85ff8045e6d2ce88749171"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":2,"changed_files":3}}