{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls/17","id":235951400,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1OTUxNDAw","html_url":"https://github.com/DanielMulitauopele/play-api/pull/17","diff_url":"https://github.com/DanielMulitauopele/play-api/pull/17.diff","patch_url":"https://github.com/DanielMulitauopele/play-api/pull/17.patch","issue_url":"https://api.github.com/repos/DanielMulitauopele/play-api/issues/17","number":17,"state":"open","locked":false,"title":"Post api v1 songs","user":{"login":"mikecm1141","id":27649011,"node_id":"MDQ6VXNlcjI3NjQ5MDEx","avatar_url":"https://avatars1.githubusercontent.com/u/27649011?v=4","gravatar_id":"","url":"https://api.github.com/users/mikecm1141","html_url":"https://github.com/mikecm1141","followers_url":"https://api.github.com/users/mikecm1141/followers","following_url":"https://api.github.com/users/mikecm1141/following{/other_user}","gists_url":"https://api.github.com/users/mikecm1141/gists{/gist_id}","starred_url":"https://api.github.com/users/mikecm1141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikecm1141/subscriptions","organizations_url":"https://api.github.com/users/mikecm1141/orgs","repos_url":"https://api.github.com/users/mikecm1141/repos","events_url":"https://api.github.com/users/mikecm1141/events{/privacy}","received_events_url":"https://api.github.com/users/mikecm1141/received_events","type":"User","site_admin":false},"body":"## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [x] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [ ] I have added tests to cover my changes.\r\n- [ ] All new and existing tests passed.\r\n\r\nIn this feature branch, I made the migration for our entire database. I've also added our first route for POST favorite songs to the database. This also takes care of the SAD path issue cards. Failure paths include not having all fields (name, artist, song rating, and genre) and an invalid song rating (not an integer between 1 and 100).\r\n\r\nNo testing because we have not gone over testing for Express apps yet. I may look into this tonight on my own.\r\n\r\nCheck my commit messages for more in depth discussion on what I did in each commit. Feel better!","created_at":"2018-12-04T20:38:18Z","updated_at":"2018-12-04T20:38:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls/17/commits","review_comments_url":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls/17/comments","review_comment_url":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DanielMulitauopele/play-api/issues/17/comments","statuses_url":"https://api.github.com/repos/DanielMulitauopele/play-api/statuses/ec4fa8dfccee1940a2c2d50571b1c47029af045c","head":{"label":"DanielMulitauopele:Post-api-v1-songs","ref":"Post-api-v1-songs","sha":"ec4fa8dfccee1940a2c2d50571b1c47029af045c","user":{"login":"DanielMulitauopele","id":37354322,"node_id":"MDQ6VXNlcjM3MzU0MzIy","avatar_url":"https://avatars3.githubusercontent.com/u/37354322?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielMulitauopele","html_url":"https://github.com/DanielMulitauopele","followers_url":"https://api.github.com/users/DanielMulitauopele/followers","following_url":"https://api.github.com/users/DanielMulitauopele/following{/other_user}","gists_url":"https://api.github.com/users/DanielMulitauopele/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielMulitauopele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielMulitauopele/subscriptions","organizations_url":"https://api.github.com/users/DanielMulitauopele/orgs","repos_url":"https://api.github.com/users/DanielMulitauopele/repos","events_url":"https://api.github.com/users/DanielMulitauopele/events{/privacy}","received_events_url":"https://api.github.com/users/DanielMulitauopele/received_events","type":"User","site_admin":false},"repo":{"id":160254007,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAyNTQwMDc=","name":"play-api","full_name":"DanielMulitauopele/play-api","private":false,"owner":{"login":"DanielMulitauopele","id":37354322,"node_id":"MDQ6VXNlcjM3MzU0MzIy","avatar_url":"https://avatars3.githubusercontent.com/u/37354322?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielMulitauopele","html_url":"https://github.com/DanielMulitauopele","followers_url":"https://api.github.com/users/DanielMulitauopele/followers","following_url":"https://api.github.com/users/DanielMulitauopele/following{/other_user}","gists_url":"https://api.github.com/users/DanielMulitauopele/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielMulitauopele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielMulitauopele/subscriptions","organizations_url":"https://api.github.com/users/DanielMulitauopele/orgs","repos_url":"https://api.github.com/users/DanielMulitauopele/repos","events_url":"https://api.github.com/users/DanielMulitauopele/events{/privacy}","received_events_url":"https://api.github.com/users/DanielMulitauopele/received_events","type":"User","site_admin":false},"html_url":"https://github.com/DanielMulitauopele/play-api","description":null,"fork":false,"url":"https://api.github.com/repos/DanielMulitauopele/play-api","forks_url":"https://api.github.com/repos/DanielMulitauopele/play-api/forks","keys_url":"https://api.github.com/repos/DanielMulitauopele/play-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielMulitauopele/play-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielMulitauopele/play-api/teams","hooks_url":"https://api.github.com/repos/DanielMulitauopele/play-api/hooks","issue_events_url":"https://api.github.com/repos/DanielMulitauopele/play-api/issues/events{/number}","events_url":"https://api.github.com/repos/DanielMulitauopele/play-api/events","assignees_url":"https://api.github.com/repos/DanielMulitauopele/play-api/assignees{/user}","branches_url":"https://api.github.com/repos/DanielMulitauopele/play-api/branches{/branch}","tags_url":"https://api.github.com/repos/DanielMulitauopele/play-api/tags","blobs_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielMulitauopele/play-api/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielMulitauopele/play-api/languages","stargazers_url":"https://api.github.com/repos/DanielMulitauopele/play-api/stargazers","contributors_url":"https://api.github.com/repos/DanielMulitauopele/play-api/contributors","subscribers_url":"https://api.github.com/repos/DanielMulitauopele/play-api/subscribers","subscription_url":"https://api.github.com/repos/DanielMulitauopele/play-api/subscription","commits_url":"https://api.github.com/repos/DanielMulitauopele/play-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielMulitauopele/play-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielMulitauopele/play-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanielMulitauopele/play-api/contents/{+path}","compare_url":"https://api.github.com/repos/DanielMulitauopele/play-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielMulitauopele/play-api/merges","archive_url":"https://api.github.com/repos/DanielMulitauopele/play-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielMulitauopele/play-api/downloads","issues_url":"https://api.github.com/repos/DanielMulitauopele/play-api/issues{/number}","pulls_url":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielMulitauopele/play-api/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielMulitauopele/play-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielMulitauopele/play-api/labels{/name}","releases_url":"https://api.github.com/repos/DanielMulitauopele/play-api/releases{/id}","deployments_url":"https://api.github.com/repos/DanielMulitauopele/play-api/deployments","created_at":"2018-12-03T21:08:58Z","updated_at":"2018-12-04T19:16:17Z","pushed_at":"2018-12-04T20:30:35Z","git_url":"git://github.com/DanielMulitauopele/play-api.git","ssh_url":"git@github.com:DanielMulitauopele/play-api.git","clone_url":"https://github.com/DanielMulitauopele/play-api.git","svn_url":"https://github.com/DanielMulitauopele/play-api","homepage":null,"size":30,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"DanielMulitauopele:master","ref":"master","sha":"593174e18ea5cf9ef7ba6d2aaf2f73bb5b92499d","user":{"login":"DanielMulitauopele","id":37354322,"node_id":"MDQ6VXNlcjM3MzU0MzIy","avatar_url":"https://avatars3.githubusercontent.com/u/37354322?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielMulitauopele","html_url":"https://github.com/DanielMulitauopele","followers_url":"https://api.github.com/users/DanielMulitauopele/followers","following_url":"https://api.github.com/users/DanielMulitauopele/following{/other_user}","gists_url":"https://api.github.com/users/DanielMulitauopele/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielMulitauopele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielMulitauopele/subscriptions","organizations_url":"https://api.github.com/users/DanielMulitauopele/orgs","repos_url":"https://api.github.com/users/DanielMulitauopele/repos","events_url":"https://api.github.com/users/DanielMulitauopele/events{/privacy}","received_events_url":"https://api.github.com/users/DanielMulitauopele/received_events","type":"User","site_admin":false},"repo":{"id":160254007,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAyNTQwMDc=","name":"play-api","full_name":"DanielMulitauopele/play-api","private":false,"owner":{"login":"DanielMulitauopele","id":37354322,"node_id":"MDQ6VXNlcjM3MzU0MzIy","avatar_url":"https://avatars3.githubusercontent.com/u/37354322?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielMulitauopele","html_url":"https://github.com/DanielMulitauopele","followers_url":"https://api.github.com/users/DanielMulitauopele/followers","following_url":"https://api.github.com/users/DanielMulitauopele/following{/other_user}","gists_url":"https://api.github.com/users/DanielMulitauopele/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielMulitauopele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielMulitauopele/subscriptions","organizations_url":"https://api.github.com/users/DanielMulitauopele/orgs","repos_url":"https://api.github.com/users/DanielMulitauopele/repos","events_url":"https://api.github.com/users/DanielMulitauopele/events{/privacy}","received_events_url":"https://api.github.com/users/DanielMulitauopele/received_events","type":"User","site_admin":false},"html_url":"https://github.com/DanielMulitauopele/play-api","description":null,"fork":false,"url":"https://api.github.com/repos/DanielMulitauopele/play-api","forks_url":"https://api.github.com/repos/DanielMulitauopele/play-api/forks","keys_url":"https://api.github.com/repos/DanielMulitauopele/play-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielMulitauopele/play-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielMulitauopele/play-api/teams","hooks_url":"https://api.github.com/repos/DanielMulitauopele/play-api/hooks","issue_events_url":"https://api.github.com/repos/DanielMulitauopele/play-api/issues/events{/number}","events_url":"https://api.github.com/repos/DanielMulitauopele/play-api/events","assignees_url":"https://api.github.com/repos/DanielMulitauopele/play-api/assignees{/user}","branches_url":"https://api.github.com/repos/DanielMulitauopele/play-api/branches{/branch}","tags_url":"https://api.github.com/repos/DanielMulitauopele/play-api/tags","blobs_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielMulitauopele/play-api/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielMulitauopele/play-api/languages","stargazers_url":"https://api.github.com/repos/DanielMulitauopele/play-api/stargazers","contributors_url":"https://api.github.com/repos/DanielMulitauopele/play-api/contributors","subscribers_url":"https://api.github.com/repos/DanielMulitauopele/play-api/subscribers","subscription_url":"https://api.github.com/repos/DanielMulitauopele/play-api/subscription","commits_url":"https://api.github.com/repos/DanielMulitauopele/play-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielMulitauopele/play-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielMulitauopele/play-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielMulitauopele/play-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanielMulitauopele/play-api/contents/{+path}","compare_url":"https://api.github.com/repos/DanielMulitauopele/play-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielMulitauopele/play-api/merges","archive_url":"https://api.github.com/repos/DanielMulitauopele/play-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielMulitauopele/play-api/downloads","issues_url":"https://api.github.com/repos/DanielMulitauopele/play-api/issues{/number}","pulls_url":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielMulitauopele/play-api/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielMulitauopele/play-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielMulitauopele/play-api/labels{/name}","releases_url":"https://api.github.com/repos/DanielMulitauopele/play-api/releases{/id}","deployments_url":"https://api.github.com/repos/DanielMulitauopele/play-api/deployments","created_at":"2018-12-03T21:08:58Z","updated_at":"2018-12-04T19:16:17Z","pushed_at":"2018-12-04T20:30:35Z","git_url":"git://github.com/DanielMulitauopele/play-api.git","ssh_url":"git@github.com:DanielMulitauopele/play-api.git","clone_url":"https://github.com/DanielMulitauopele/play-api.git","svn_url":"https://github.com/DanielMulitauopele/play-api","homepage":null,"size":30,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls/17"},"html":{"href":"https://github.com/DanielMulitauopele/play-api/pull/17"},"issue":{"href":"https://api.github.com/repos/DanielMulitauopele/play-api/issues/17"},"comments":{"href":"https://api.github.com/repos/DanielMulitauopele/play-api/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DanielMulitauopele/play-api/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/DanielMulitauopele/play-api/statuses/ec4fa8dfccee1940a2c2d50571b1c47029af045c"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":67,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"mikecm1141"}}