{"action":"created","comment":{"url":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/comments/58316470","id":58316470,"diff_hunk":"@@ -0,0 +1,29 @@\n+package controllers;\n+\n+import play.libs.Json;\n+import play.mvc.*;\n+\n+import views.html.*;\n+\n+import models.Artist;\n+\n+import java.util.ArrayList;\n+import java.util.List;\n+\n+public class ArtistController extends Controller {\n+\n+    public Result artistPage() {\n+\n+        List<Artist> artistList = Artist.find.all();\n+        return ok(artists.render(artistList));\n+\n+    }\n+\n+    public Result artistUniquePage(Long id) {","path":"app/controllers/ArtistController.java","position":22,"original_position":22,"commit_id":"49c698a8296e5ce5e61f1a46d3c4ed349fa84662","original_commit_id":"49c698a8296e5ce5e61f1a46d3c4ed349fa84662","user":{"login":"nickfarina","id":5157728,"avatar_url":"https://avatars.githubusercontent.com/u/5157728?v=3","gravatar_id":"","url":"https://api.github.com/users/nickfarina","html_url":"https://github.com/nickfarina","followers_url":"https://api.github.com/users/nickfarina/followers","following_url":"https://api.github.com/users/nickfarina/following{/other_user}","gists_url":"https://api.github.com/users/nickfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/nickfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickfarina/subscriptions","organizations_url":"https://api.github.com/users/nickfarina/orgs","repos_url":"https://api.github.com/users/nickfarina/repos","events_url":"https://api.github.com/users/nickfarina/events{/privacy}","received_events_url":"https://api.github.com/users/nickfarina/received_events","type":"User","site_admin":false},"body":"this is usually called `show(Long id)`","created_at":"2016-04-03T19:54:19Z","updated_at":"2016-04-03T19:54:19Z","html_url":"https://github.com/JosephFarina/MusicApp/pull/2#discussion_r58316470","pull_request_url":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/comments/58316470"},"html":{"href":"https://github.com/JosephFarina/MusicApp/pull/2#discussion_r58316470"},"pull_request":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/2","id":65077331,"html_url":"https://github.com/JosephFarina/MusicApp/pull/2","diff_url":"https://github.com/JosephFarina/MusicApp/pull/2.diff","patch_url":"https://github.com/JosephFarina/MusicApp/pull/2.patch","issue_url":"https://api.github.com/repos/JosephFarina/MusicApp/issues/2","number":2,"state":"open","locked":false,"title":"Make artist pages","user":{"login":"JosephFarina","id":17398284,"avatar_url":"https://avatars.githubusercontent.com/u/17398284?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephFarina","html_url":"https://github.com/JosephFarina","followers_url":"https://api.github.com/users/JosephFarina/followers","following_url":"https://api.github.com/users/JosephFarina/following{/other_user}","gists_url":"https://api.github.com/users/JosephFarina/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephFarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephFarina/subscriptions","organizations_url":"https://api.github.com/users/JosephFarina/orgs","repos_url":"https://api.github.com/users/JosephFarina/repos","events_url":"https://api.github.com/users/JosephFarina/events{/privacy}","received_events_url":"https://api.github.com/users/JosephFarina/received_events","type":"User","site_admin":false},"body":"Made unique artists pages as well as an artist home page. And made unique genre pages as well as as a genre home page.\r\n\r\nNeed to fix: \r\n- The genre home page to not display duplicate genres. \r\n- The Urls to all be lowercase for genres (genres/Rock works while genres/rock doesn't)\r\n\r\n\r\n\r\n@nickfarina - Did I do this git thing right?","created_at":"2016-04-03T19:12:36Z","updated_at":"2016-04-03T19:54:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09da976d672285bf90f3588422d281baeb07ae49","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/2/commits","review_comments_url":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/2/comments","review_comment_url":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JosephFarina/MusicApp/issues/2/comments","statuses_url":"https://api.github.com/repos/JosephFarina/MusicApp/statuses/49c698a8296e5ce5e61f1a46d3c4ed349fa84662","head":{"label":"JosephFarina:makeArtistPages","ref":"makeArtistPages","sha":"49c698a8296e5ce5e61f1a46d3c4ed349fa84662","user":{"login":"JosephFarina","id":17398284,"avatar_url":"https://avatars.githubusercontent.com/u/17398284?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephFarina","html_url":"https://github.com/JosephFarina","followers_url":"https://api.github.com/users/JosephFarina/followers","following_url":"https://api.github.com/users/JosephFarina/following{/other_user}","gists_url":"https://api.github.com/users/JosephFarina/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephFarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephFarina/subscriptions","organizations_url":"https://api.github.com/users/JosephFarina/orgs","repos_url":"https://api.github.com/users/JosephFarina/repos","events_url":"https://api.github.com/users/JosephFarina/events{/privacy}","received_events_url":"https://api.github.com/users/JosephFarina/received_events","type":"User","site_admin":false},"repo":{"id":55313826,"name":"MusicApp","full_name":"JosephFarina/MusicApp","owner":{"login":"JosephFarina","id":17398284,"avatar_url":"https://avatars.githubusercontent.com/u/17398284?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephFarina","html_url":"https://github.com/JosephFarina","followers_url":"https://api.github.com/users/JosephFarina/followers","following_url":"https://api.github.com/users/JosephFarina/following{/other_user}","gists_url":"https://api.github.com/users/JosephFarina/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephFarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephFarina/subscriptions","organizations_url":"https://api.github.com/users/JosephFarina/orgs","repos_url":"https://api.github.com/users/JosephFarina/repos","events_url":"https://api.github.com/users/JosephFarina/events{/privacy}","received_events_url":"https://api.github.com/users/JosephFarina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JosephFarina/MusicApp","description":"","fork":false,"url":"https://api.github.com/repos/JosephFarina/MusicApp","forks_url":"https://api.github.com/repos/JosephFarina/MusicApp/forks","keys_url":"https://api.github.com/repos/JosephFarina/MusicApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JosephFarina/MusicApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JosephFarina/MusicApp/teams","hooks_url":"https://api.github.com/repos/JosephFarina/MusicApp/hooks","issue_events_url":"https://api.github.com/repos/JosephFarina/MusicApp/issues/events{/number}","events_url":"https://api.github.com/repos/JosephFarina/MusicApp/events","assignees_url":"https://api.github.com/repos/JosephFarina/MusicApp/assignees{/user}","branches_url":"https://api.github.com/repos/JosephFarina/MusicApp/branches{/branch}","tags_url":"https://api.github.com/repos/JosephFarina/MusicApp/tags","blobs_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JosephFarina/MusicApp/statuses/{sha}","languages_url":"https://api.github.com/repos/JosephFarina/MusicApp/languages","stargazers_url":"https://api.github.com/repos/JosephFarina/MusicApp/stargazers","contributors_url":"https://api.github.com/repos/JosephFarina/MusicApp/contributors","subscribers_url":"https://api.github.com/repos/JosephFarina/MusicApp/subscribers","subscription_url":"https://api.github.com/repos/JosephFarina/MusicApp/subscription","commits_url":"https://api.github.com/repos/JosephFarina/MusicApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/JosephFarina/MusicApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/JosephFarina/MusicApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/JosephFarina/MusicApp/contents/{+path}","compare_url":"https://api.github.com/repos/JosephFarina/MusicApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JosephFarina/MusicApp/merges","archive_url":"https://api.github.com/repos/JosephFarina/MusicApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JosephFarina/MusicApp/downloads","issues_url":"https://api.github.com/repos/JosephFarina/MusicApp/issues{/number}","pulls_url":"https://api.github.com/repos/JosephFarina/MusicApp/pulls{/number}","milestones_url":"https://api.github.com/repos/JosephFarina/MusicApp/milestones{/number}","notifications_url":"https://api.github.com/repos/JosephFarina/MusicApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JosephFarina/MusicApp/labels{/name}","releases_url":"https://api.github.com/repos/JosephFarina/MusicApp/releases{/id}","deployments_url":"https://api.github.com/repos/JosephFarina/MusicApp/deployments","created_at":"2016-04-02T20:05:43Z","updated_at":"2016-04-02T20:06:28Z","pushed_at":"2016-04-03T19:12:37Z","git_url":"git://github.com/JosephFarina/MusicApp.git","ssh_url":"git@github.com:JosephFarina/MusicApp.git","clone_url":"https://github.com/JosephFarina/MusicApp.git","svn_url":"https://github.com/JosephFarina/MusicApp","homepage":null,"size":30,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"JosephFarina:master","ref":"master","sha":"e353a72ae8790afdfa3a04cf8c173ceb68164475","user":{"login":"JosephFarina","id":17398284,"avatar_url":"https://avatars.githubusercontent.com/u/17398284?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephFarina","html_url":"https://github.com/JosephFarina","followers_url":"https://api.github.com/users/JosephFarina/followers","following_url":"https://api.github.com/users/JosephFarina/following{/other_user}","gists_url":"https://api.github.com/users/JosephFarina/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephFarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephFarina/subscriptions","organizations_url":"https://api.github.com/users/JosephFarina/orgs","repos_url":"https://api.github.com/users/JosephFarina/repos","events_url":"https://api.github.com/users/JosephFarina/events{/privacy}","received_events_url":"https://api.github.com/users/JosephFarina/received_events","type":"User","site_admin":false},"repo":{"id":55313826,"name":"MusicApp","full_name":"JosephFarina/MusicApp","owner":{"login":"JosephFarina","id":17398284,"avatar_url":"https://avatars.githubusercontent.com/u/17398284?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephFarina","html_url":"https://github.com/JosephFarina","followers_url":"https://api.github.com/users/JosephFarina/followers","following_url":"https://api.github.com/users/JosephFarina/following{/other_user}","gists_url":"https://api.github.com/users/JosephFarina/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephFarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephFarina/subscriptions","organizations_url":"https://api.github.com/users/JosephFarina/orgs","repos_url":"https://api.github.com/users/JosephFarina/repos","events_url":"https://api.github.com/users/JosephFarina/events{/privacy}","received_events_url":"https://api.github.com/users/JosephFarina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JosephFarina/MusicApp","description":"","fork":false,"url":"https://api.github.com/repos/JosephFarina/MusicApp","forks_url":"https://api.github.com/repos/JosephFarina/MusicApp/forks","keys_url":"https://api.github.com/repos/JosephFarina/MusicApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JosephFarina/MusicApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JosephFarina/MusicApp/teams","hooks_url":"https://api.github.com/repos/JosephFarina/MusicApp/hooks","issue_events_url":"https://api.github.com/repos/JosephFarina/MusicApp/issues/events{/number}","events_url":"https://api.github.com/repos/JosephFarina/MusicApp/events","assignees_url":"https://api.github.com/repos/JosephFarina/MusicApp/assignees{/user}","branches_url":"https://api.github.com/repos/JosephFarina/MusicApp/branches{/branch}","tags_url":"https://api.github.com/repos/JosephFarina/MusicApp/tags","blobs_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JosephFarina/MusicApp/statuses/{sha}","languages_url":"https://api.github.com/repos/JosephFarina/MusicApp/languages","stargazers_url":"https://api.github.com/repos/JosephFarina/MusicApp/stargazers","contributors_url":"https://api.github.com/repos/JosephFarina/MusicApp/contributors","subscribers_url":"https://api.github.com/repos/JosephFarina/MusicApp/subscribers","subscription_url":"https://api.github.com/repos/JosephFarina/MusicApp/subscription","commits_url":"https://api.github.com/repos/JosephFarina/MusicApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/JosephFarina/MusicApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/JosephFarina/MusicApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/JosephFarina/MusicApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/JosephFarina/MusicApp/contents/{+path}","compare_url":"https://api.github.com/repos/JosephFarina/MusicApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JosephFarina/MusicApp/merges","archive_url":"https://api.github.com/repos/JosephFarina/MusicApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JosephFarina/MusicApp/downloads","issues_url":"https://api.github.com/repos/JosephFarina/MusicApp/issues{/number}","pulls_url":"https://api.github.com/repos/JosephFarina/MusicApp/pulls{/number}","milestones_url":"https://api.github.com/repos/JosephFarina/MusicApp/milestones{/number}","notifications_url":"https://api.github.com/repos/JosephFarina/MusicApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JosephFarina/MusicApp/labels{/name}","releases_url":"https://api.github.com/repos/JosephFarina/MusicApp/releases{/id}","deployments_url":"https://api.github.com/repos/JosephFarina/MusicApp/deployments","created_at":"2016-04-02T20:05:43Z","updated_at":"2016-04-02T20:06:28Z","pushed_at":"2016-04-03T19:12:37Z","git_url":"git://github.com/JosephFarina/MusicApp.git","ssh_url":"git@github.com:JosephFarina/MusicApp.git","clone_url":"https://github.com/JosephFarina/MusicApp.git","svn_url":"https://github.com/JosephFarina/MusicApp","homepage":null,"size":30,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/2"},"html":{"href":"https://github.com/JosephFarina/MusicApp/pull/2"},"issue":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/issues/2"},"comments":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/JosephFarina/MusicApp/statuses/49c698a8296e5ce5e61f1a46d3c4ed349fa84662"}}}}