{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls/40","id":44136794,"html_url":"https://github.com/Pickle-and-Lime/Rosie/pull/40","diff_url":"https://github.com/Pickle-and-Lime/Rosie/pull/40.diff","patch_url":"https://github.com/Pickle-and-Lime/Rosie/pull/40.patch","issue_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/issues/40","number":40,"state":"open","locked":false,"title":"(feat) Add helpers & modify endpts for household","user":{"login":"kamerynn","id":12142496,"avatar_url":"https://avatars.githubusercontent.com/u/12142496?v=3","gravatar_id":"","url":"https://api.github.com/users/kamerynn","html_url":"https://github.com/kamerynn","followers_url":"https://api.github.com/users/kamerynn/followers","following_url":"https://api.github.com/users/kamerynn/following{/other_user}","gists_url":"https://api.github.com/users/kamerynn/gists{/gist_id}","starred_url":"https://api.github.com/users/kamerynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamerynn/subscriptions","organizations_url":"https://api.github.com/users/kamerynn/orgs","repos_url":"https://api.github.com/users/kamerynn/repos","events_url":"https://api.github.com/users/kamerynn/events{/privacy}","received_events_url":"https://api.github.com/users/kamerynn/received_events","type":"User","site_admin":false},"body":"* Add helpers to household, including getHousehold which will only keep one household at all times (for demoing) and removeHousehold\r\n* Modify `GET` endpoint for `/household`, which will send the ID of the single household in the database (or create it if it is not there, then send back that ID)\r\n* Modify example.js to remove test household at the end","created_at":"2015-09-03T17:52:06Z","updated_at":"2015-09-03T17:52:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls/40/commits","review_comments_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls/40/comments","review_comment_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/issues/40/comments","statuses_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/statuses/d9c46097fad709d8e46491c9c314ca4726528772","head":{"label":"kamerynn:feat/household-helpers","ref":"feat/household-helpers","sha":"d9c46097fad709d8e46491c9c314ca4726528772","user":{"login":"kamerynn","id":12142496,"avatar_url":"https://avatars.githubusercontent.com/u/12142496?v=3","gravatar_id":"","url":"https://api.github.com/users/kamerynn","html_url":"https://github.com/kamerynn","followers_url":"https://api.github.com/users/kamerynn/followers","following_url":"https://api.github.com/users/kamerynn/following{/other_user}","gists_url":"https://api.github.com/users/kamerynn/gists{/gist_id}","starred_url":"https://api.github.com/users/kamerynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamerynn/subscriptions","organizations_url":"https://api.github.com/users/kamerynn/orgs","repos_url":"https://api.github.com/users/kamerynn/repos","events_url":"https://api.github.com/users/kamerynn/events{/privacy}","received_events_url":"https://api.github.com/users/kamerynn/received_events","type":"User","site_admin":false},"repo":{"id":41603583,"name":"Rosie","full_name":"kamerynn/Rosie","owner":{"login":"kamerynn","id":12142496,"avatar_url":"https://avatars.githubusercontent.com/u/12142496?v=3","gravatar_id":"","url":"https://api.github.com/users/kamerynn","html_url":"https://github.com/kamerynn","followers_url":"https://api.github.com/users/kamerynn/followers","following_url":"https://api.github.com/users/kamerynn/following{/other_user}","gists_url":"https://api.github.com/users/kamerynn/gists{/gist_id}","starred_url":"https://api.github.com/users/kamerynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamerynn/subscriptions","organizations_url":"https://api.github.com/users/kamerynn/orgs","repos_url":"https://api.github.com/users/kamerynn/repos","events_url":"https://api.github.com/users/kamerynn/events{/privacy}","received_events_url":"https://api.github.com/users/kamerynn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kamerynn/Rosie","description":"Rosie (Working Title).  The shopping list that builds itself.","fork":true,"url":"https://api.github.com/repos/kamerynn/Rosie","forks_url":"https://api.github.com/repos/kamerynn/Rosie/forks","keys_url":"https://api.github.com/repos/kamerynn/Rosie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kamerynn/Rosie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kamerynn/Rosie/teams","hooks_url":"https://api.github.com/repos/kamerynn/Rosie/hooks","issue_events_url":"https://api.github.com/repos/kamerynn/Rosie/issues/events{/number}","events_url":"https://api.github.com/repos/kamerynn/Rosie/events","assignees_url":"https://api.github.com/repos/kamerynn/Rosie/assignees{/user}","branches_url":"https://api.github.com/repos/kamerynn/Rosie/branches{/branch}","tags_url":"https://api.github.com/repos/kamerynn/Rosie/tags","blobs_url":"https://api.github.com/repos/kamerynn/Rosie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kamerynn/Rosie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kamerynn/Rosie/git/refs{/sha}","trees_url":"https://api.github.com/repos/kamerynn/Rosie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kamerynn/Rosie/statuses/{sha}","languages_url":"https://api.github.com/repos/kamerynn/Rosie/languages","stargazers_url":"https://api.github.com/repos/kamerynn/Rosie/stargazers","contributors_url":"https://api.github.com/repos/kamerynn/Rosie/contributors","subscribers_url":"https://api.github.com/repos/kamerynn/Rosie/subscribers","subscription_url":"https://api.github.com/repos/kamerynn/Rosie/subscription","commits_url":"https://api.github.com/repos/kamerynn/Rosie/commits{/sha}","git_commits_url":"https://api.github.com/repos/kamerynn/Rosie/git/commits{/sha}","comments_url":"https://api.github.com/repos/kamerynn/Rosie/comments{/number}","issue_comment_url":"https://api.github.com/repos/kamerynn/Rosie/issues/comments{/number}","contents_url":"https://api.github.com/repos/kamerynn/Rosie/contents/{+path}","compare_url":"https://api.github.com/repos/kamerynn/Rosie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kamerynn/Rosie/merges","archive_url":"https://api.github.com/repos/kamerynn/Rosie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kamerynn/Rosie/downloads","issues_url":"https://api.github.com/repos/kamerynn/Rosie/issues{/number}","pulls_url":"https://api.github.com/repos/kamerynn/Rosie/pulls{/number}","milestones_url":"https://api.github.com/repos/kamerynn/Rosie/milestones{/number}","notifications_url":"https://api.github.com/repos/kamerynn/Rosie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kamerynn/Rosie/labels{/name}","releases_url":"https://api.github.com/repos/kamerynn/Rosie/releases{/id}","created_at":"2015-08-29T18:44:03Z","updated_at":"2015-08-29T18:44:04Z","pushed_at":"2015-09-03T17:50:36Z","git_url":"git://github.com/kamerynn/Rosie.git","ssh_url":"git@github.com:kamerynn/Rosie.git","clone_url":"https://github.com/kamerynn/Rosie.git","svn_url":"https://github.com/kamerynn/Rosie","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Pickle-and-Lime:feat/backend","ref":"feat/backend","sha":"99568af68ebf0151a6d4da5b18261e1b196837b1","user":{"login":"Pickle-and-Lime","id":13971198,"avatar_url":"https://avatars.githubusercontent.com/u/13971198?v=3","gravatar_id":"","url":"https://api.github.com/users/Pickle-and-Lime","html_url":"https://github.com/Pickle-and-Lime","followers_url":"https://api.github.com/users/Pickle-and-Lime/followers","following_url":"https://api.github.com/users/Pickle-and-Lime/following{/other_user}","gists_url":"https://api.github.com/users/Pickle-and-Lime/gists{/gist_id}","starred_url":"https://api.github.com/users/Pickle-and-Lime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pickle-and-Lime/subscriptions","organizations_url":"https://api.github.com/users/Pickle-and-Lime/orgs","repos_url":"https://api.github.com/users/Pickle-and-Lime/repos","events_url":"https://api.github.com/users/Pickle-and-Lime/events{/privacy}","received_events_url":"https://api.github.com/users/Pickle-and-Lime/received_events","type":"Organization","site_admin":false},"repo":{"id":41602564,"name":"Rosie","full_name":"Pickle-and-Lime/Rosie","owner":{"login":"Pickle-and-Lime","id":13971198,"avatar_url":"https://avatars.githubusercontent.com/u/13971198?v=3","gravatar_id":"","url":"https://api.github.com/users/Pickle-and-Lime","html_url":"https://github.com/Pickle-and-Lime","followers_url":"https://api.github.com/users/Pickle-and-Lime/followers","following_url":"https://api.github.com/users/Pickle-and-Lime/following{/other_user}","gists_url":"https://api.github.com/users/Pickle-and-Lime/gists{/gist_id}","starred_url":"https://api.github.com/users/Pickle-and-Lime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pickle-and-Lime/subscriptions","organizations_url":"https://api.github.com/users/Pickle-and-Lime/orgs","repos_url":"https://api.github.com/users/Pickle-and-Lime/repos","events_url":"https://api.github.com/users/Pickle-and-Lime/events{/privacy}","received_events_url":"https://api.github.com/users/Pickle-and-Lime/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Pickle-and-Lime/Rosie","description":"Rosie (Working Title).  The shopping list that builds itself.","fork":false,"url":"https://api.github.com/repos/Pickle-and-Lime/Rosie","forks_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/forks","keys_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/teams","hooks_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/hooks","issue_events_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/issues/events{/number}","events_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/events","assignees_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/assignees{/user}","branches_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/branches{/branch}","tags_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/tags","blobs_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/statuses/{sha}","languages_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/languages","stargazers_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/stargazers","contributors_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/contributors","subscribers_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/subscribers","subscription_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/subscription","commits_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/contents/{+path}","compare_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/merges","archive_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/downloads","issues_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/issues{/number}","pulls_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls{/number}","milestones_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/milestones{/number}","notifications_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/labels{/name}","releases_url":"https://api.github.com/repos/Pickle-and-Lime/Rosie/releases{/id}","created_at":"2015-08-29T18:05:51Z","updated_at":"2015-09-03T03:57:42Z","pushed_at":"2015-09-03T17:46:11Z","git_url":"git://github.com/Pickle-and-Lime/Rosie.git","ssh_url":"git@github.com:Pickle-and-Lime/Rosie.git","clone_url":"https://github.com/Pickle-and-Lime/Rosie.git","svn_url":"https://github.com/Pickle-and-Lime/Rosie","homepage":null,"size":458,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":10,"forks":5,"open_issues":10,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls/40"},"html":{"href":"https://github.com/Pickle-and-Lime/Rosie/pull/40"},"issue":{"href":"https://api.github.com/repos/Pickle-and-Lime/Rosie/issues/40"},"comments":{"href":"https://api.github.com/repos/Pickle-and-Lime/Rosie/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Pickle-and-Lime/Rosie/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/Pickle-and-Lime/Rosie/statuses/d9c46097fad709d8e46491c9c314ca4726528772"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":44,"deletions":13,"changed_files":5}}