{"action":"created","comment":{"url":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/comments/180066107","pull_request_review_id":110420343,"id":180066107,"diff_hunk":"@@ -1,7 +1,13 @@\n Rails.application.routes.draw do\n+\n   namespace :api do\n     namespace :v0 do\n       resources :pings, only: [:index], constraints: { format: 'json' }\n     end\n+\n+    namespace :v1 do\n+      resources :user, constraints: {format: 'json'}","path":"config/routes.rb","position":null,"original_position":9,"commit_id":"74e93a937f4eb8585fb6fd5e6edb51af13e2b3f4","original_commit_id":"e1967bc6776a1d389e8758e3cf7f1743cc192d2f","user":{"login":"AKidd95","id":35339281,"avatar_url":"https://avatars3.githubusercontent.com/u/35339281?v=4","gravatar_id":"","url":"https://api.github.com/users/AKidd95","html_url":"https://github.com/AKidd95","followers_url":"https://api.github.com/users/AKidd95/followers","following_url":"https://api.github.com/users/AKidd95/following{/other_user}","gists_url":"https://api.github.com/users/AKidd95/gists{/gist_id}","starred_url":"https://api.github.com/users/AKidd95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AKidd95/subscriptions","organizations_url":"https://api.github.com/users/AKidd95/orgs","repos_url":"https://api.github.com/users/AKidd95/repos","events_url":"https://api.github.com/users/AKidd95/events{/privacy}","received_events_url":"https://api.github.com/users/AKidd95/received_events","type":"User","site_admin":false},"body":"Ok, this is good to know, When I tried to change it I got an `uninitialized constant API::V1:UserControlller` error. even after changing the name of the controller ","created_at":"2018-04-09T11:38:32Z","updated_at":"2018-04-09T11:38:40Z","html_url":"https://github.com/CraftAcademy/languaship_backend/pull/5#discussion_r180066107","pull_request_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/5","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/comments/180066107"},"html":{"href":"https://github.com/CraftAcademy/languaship_backend/pull/5#discussion_r180066107"},"pull_request":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/5"}},"in_reply_to_id":179909565},"pull_request":{"url":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/5","id":179946727,"html_url":"https://github.com/CraftAcademy/languaship_backend/pull/5","diff_url":"https://github.com/CraftAcademy/languaship_backend/pull/5.diff","patch_url":"https://github.com/CraftAcademy/languaship_backend/pull/5.patch","issue_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/issues/5","number":5,"state":"open","locked":false,"title":"Open API Endpoint for User Data","user":{"login":"AKidd95","id":35339281,"avatar_url":"https://avatars3.githubusercontent.com/u/35339281?v=4","gravatar_id":"","url":"https://api.github.com/users/AKidd95","html_url":"https://github.com/AKidd95","followers_url":"https://api.github.com/users/AKidd95/followers","following_url":"https://api.github.com/users/AKidd95/following{/other_user}","gists_url":"https://api.github.com/users/AKidd95/gists{/gist_id}","starred_url":"https://api.github.com/users/AKidd95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AKidd95/subscriptions","organizations_url":"https://api.github.com/users/AKidd95/orgs","repos_url":"https://api.github.com/users/AKidd95/repos","events_url":"https://api.github.com/users/AKidd95/events{/privacy}","received_events_url":"https://api.github.com/users/AKidd95/received_events","type":"User","site_admin":false},"body":"#### PT Story: https://www.pivotaltracker.com/story/show/156533623\r\n#### Description\r\nChanges proposed in this pull request:\r\n\r\n* Open API enpoints to request user data from backend\r\n* Test API requests successfully\r\n\r\n#### What I have learned working on this feature: \r\n* how to use texture files\r\n* how to do format request specs\r\n* how to setup and configure devise_token_auth","created_at":"2018-04-06T13:21:14Z","updated_at":"2018-04-09T11:38:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91df4edc627d15f05b7dea80033c4c78163e31a4","assignee":null,"assignees":[],"requested_reviewers":[{"login":"diraulo","id":4028374,"avatar_url":"https://avatars3.githubusercontent.com/u/4028374?v=4","gravatar_id":"","url":"https://api.github.com/users/diraulo","html_url":"https://github.com/diraulo","followers_url":"https://api.github.com/users/diraulo/followers","following_url":"https://api.github.com/users/diraulo/following{/other_user}","gists_url":"https://api.github.com/users/diraulo/gists{/gist_id}","starred_url":"https://api.github.com/users/diraulo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diraulo/subscriptions","organizations_url":"https://api.github.com/users/diraulo/orgs","repos_url":"https://api.github.com/users/diraulo/repos","events_url":"https://api.github.com/users/diraulo/events{/privacy}","received_events_url":"https://api.github.com/users/diraulo/received_events","type":"User","site_admin":false},{"login":"AntonellaMorittu","id":33493978,"avatar_url":"https://avatars1.githubusercontent.com/u/33493978?v=4","gravatar_id":"","url":"https://api.github.com/users/AntonellaMorittu","html_url":"https://github.com/AntonellaMorittu","followers_url":"https://api.github.com/users/AntonellaMorittu/followers","following_url":"https://api.github.com/users/AntonellaMorittu/following{/other_user}","gists_url":"https://api.github.com/users/AntonellaMorittu/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonellaMorittu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonellaMorittu/subscriptions","organizations_url":"https://api.github.com/users/AntonellaMorittu/orgs","repos_url":"https://api.github.com/users/AntonellaMorittu/repos","events_url":"https://api.github.com/users/AntonellaMorittu/events{/privacy}","received_events_url":"https://api.github.com/users/AntonellaMorittu/received_events","type":"User","site_admin":false},{"login":"isabellelii","id":34246127,"avatar_url":"https://avatars3.githubusercontent.com/u/34246127?v=4","gravatar_id":"","url":"https://api.github.com/users/isabellelii","html_url":"https://github.com/isabellelii","followers_url":"https://api.github.com/users/isabellelii/followers","following_url":"https://api.github.com/users/isabellelii/following{/other_user}","gists_url":"https://api.github.com/users/isabellelii/gists{/gist_id}","starred_url":"https://api.github.com/users/isabellelii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isabellelii/subscriptions","organizations_url":"https://api.github.com/users/isabellelii/orgs","repos_url":"https://api.github.com/users/isabellelii/repos","events_url":"https://api.github.com/users/isabellelii/events{/privacy}","received_events_url":"https://api.github.com/users/isabellelii/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/5/commits","review_comments_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/5/comments","review_comment_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/issues/5/comments","statuses_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/statuses/74e93a937f4eb8585fb6fd5e6edb51af13e2b3f4","head":{"label":"AKidd95:token_auth","ref":"token_auth","sha":"74e93a937f4eb8585fb6fd5e6edb51af13e2b3f4","user":{"login":"AKidd95","id":35339281,"avatar_url":"https://avatars3.githubusercontent.com/u/35339281?v=4","gravatar_id":"","url":"https://api.github.com/users/AKidd95","html_url":"https://github.com/AKidd95","followers_url":"https://api.github.com/users/AKidd95/followers","following_url":"https://api.github.com/users/AKidd95/following{/other_user}","gists_url":"https://api.github.com/users/AKidd95/gists{/gist_id}","starred_url":"https://api.github.com/users/AKidd95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AKidd95/subscriptions","organizations_url":"https://api.github.com/users/AKidd95/orgs","repos_url":"https://api.github.com/users/AKidd95/repos","events_url":"https://api.github.com/users/AKidd95/events{/privacy}","received_events_url":"https://api.github.com/users/AKidd95/received_events","type":"User","site_admin":false},"repo":{"id":127921744,"name":"languaship_backend","full_name":"AKidd95/languaship_backend","owner":{"login":"AKidd95","id":35339281,"avatar_url":"https://avatars3.githubusercontent.com/u/35339281?v=4","gravatar_id":"","url":"https://api.github.com/users/AKidd95","html_url":"https://github.com/AKidd95","followers_url":"https://api.github.com/users/AKidd95/followers","following_url":"https://api.github.com/users/AKidd95/following{/other_user}","gists_url":"https://api.github.com/users/AKidd95/gists{/gist_id}","starred_url":"https://api.github.com/users/AKidd95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AKidd95/subscriptions","organizations_url":"https://api.github.com/users/AKidd95/orgs","repos_url":"https://api.github.com/users/AKidd95/repos","events_url":"https://api.github.com/users/AKidd95/events{/privacy}","received_events_url":"https://api.github.com/users/AKidd95/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AKidd95/languaship_backend","description":"Final Project - January 2018 Cohort","fork":true,"url":"https://api.github.com/repos/AKidd95/languaship_backend","forks_url":"https://api.github.com/repos/AKidd95/languaship_backend/forks","keys_url":"https://api.github.com/repos/AKidd95/languaship_backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AKidd95/languaship_backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AKidd95/languaship_backend/teams","hooks_url":"https://api.github.com/repos/AKidd95/languaship_backend/hooks","issue_events_url":"https://api.github.com/repos/AKidd95/languaship_backend/issues/events{/number}","events_url":"https://api.github.com/repos/AKidd95/languaship_backend/events","assignees_url":"https://api.github.com/repos/AKidd95/languaship_backend/assignees{/user}","branches_url":"https://api.github.com/repos/AKidd95/languaship_backend/branches{/branch}","tags_url":"https://api.github.com/repos/AKidd95/languaship_backend/tags","blobs_url":"https://api.github.com/repos/AKidd95/languaship_backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AKidd95/languaship_backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AKidd95/languaship_backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/AKidd95/languaship_backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AKidd95/languaship_backend/statuses/{sha}","languages_url":"https://api.github.com/repos/AKidd95/languaship_backend/languages","stargazers_url":"https://api.github.com/repos/AKidd95/languaship_backend/stargazers","contributors_url":"https://api.github.com/repos/AKidd95/languaship_backend/contributors","subscribers_url":"https://api.github.com/repos/AKidd95/languaship_backend/subscribers","subscription_url":"https://api.github.com/repos/AKidd95/languaship_backend/subscription","commits_url":"https://api.github.com/repos/AKidd95/languaship_backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/AKidd95/languaship_backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/AKidd95/languaship_backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/AKidd95/languaship_backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/AKidd95/languaship_backend/contents/{+path}","compare_url":"https://api.github.com/repos/AKidd95/languaship_backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AKidd95/languaship_backend/merges","archive_url":"https://api.github.com/repos/AKidd95/languaship_backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AKidd95/languaship_backend/downloads","issues_url":"https://api.github.com/repos/AKidd95/languaship_backend/issues{/number}","pulls_url":"https://api.github.com/repos/AKidd95/languaship_backend/pulls{/number}","milestones_url":"https://api.github.com/repos/AKidd95/languaship_backend/milestones{/number}","notifications_url":"https://api.github.com/repos/AKidd95/languaship_backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AKidd95/languaship_backend/labels{/name}","releases_url":"https://api.github.com/repos/AKidd95/languaship_backend/releases{/id}","deployments_url":"https://api.github.com/repos/AKidd95/languaship_backend/deployments","created_at":"2018-04-03T14:34:09Z","updated_at":"2018-04-04T12:37:34Z","pushed_at":"2018-04-08T13:14:25Z","git_url":"git://github.com/AKidd95/languaship_backend.git","ssh_url":"git@github.com:AKidd95/languaship_backend.git","clone_url":"https://github.com/AKidd95/languaship_backend.git","svn_url":"https://github.com/AKidd95/languaship_backend","homepage":null,"size":49,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CraftAcademy:develop","ref":"develop","sha":"de523f5de235e2c3427634ff9c61dc46ff5da22d","user":{"login":"CraftAcademy","id":12081851,"avatar_url":"https://avatars0.githubusercontent.com/u/12081851?v=4","gravatar_id":"","url":"https://api.github.com/users/CraftAcademy","html_url":"https://github.com/CraftAcademy","followers_url":"https://api.github.com/users/CraftAcademy/followers","following_url":"https://api.github.com/users/CraftAcademy/following{/other_user}","gists_url":"https://api.github.com/users/CraftAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/CraftAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraftAcademy/subscriptions","organizations_url":"https://api.github.com/users/CraftAcademy/orgs","repos_url":"https://api.github.com/users/CraftAcademy/repos","events_url":"https://api.github.com/users/CraftAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/CraftAcademy/received_events","type":"Organization","site_admin":false},"repo":{"id":127906274,"name":"languaship_backend","full_name":"CraftAcademy/languaship_backend","owner":{"login":"CraftAcademy","id":12081851,"avatar_url":"https://avatars0.githubusercontent.com/u/12081851?v=4","gravatar_id":"","url":"https://api.github.com/users/CraftAcademy","html_url":"https://github.com/CraftAcademy","followers_url":"https://api.github.com/users/CraftAcademy/followers","following_url":"https://api.github.com/users/CraftAcademy/following{/other_user}","gists_url":"https://api.github.com/users/CraftAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/CraftAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraftAcademy/subscriptions","organizations_url":"https://api.github.com/users/CraftAcademy/orgs","repos_url":"https://api.github.com/users/CraftAcademy/repos","events_url":"https://api.github.com/users/CraftAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/CraftAcademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CraftAcademy/languaship_backend","description":"Final Project - January 2018 Cohort","fork":false,"url":"https://api.github.com/repos/CraftAcademy/languaship_backend","forks_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/forks","keys_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/teams","hooks_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/hooks","issue_events_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/issues/events{/number}","events_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/events","assignees_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/assignees{/user}","branches_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/branches{/branch}","tags_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/tags","blobs_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/statuses/{sha}","languages_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/languages","stargazers_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/stargazers","contributors_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/contributors","subscribers_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/subscribers","subscription_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/subscription","commits_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/contents/{+path}","compare_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/merges","archive_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/downloads","issues_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/issues{/number}","pulls_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls{/number}","milestones_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/milestones{/number}","notifications_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/labels{/name}","releases_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/releases{/id}","deployments_url":"https://api.github.com/repos/CraftAcademy/languaship_backend/deployments","created_at":"2018-04-03T12:40:27Z","updated_at":"2018-04-05T08:14:57Z","pushed_at":"2018-04-08T13:14:26Z","git_url":"git://github.com/CraftAcademy/languaship_backend.git","ssh_url":"git@github.com:CraftAcademy/languaship_backend.git","clone_url":"https://github.com/CraftAcademy/languaship_backend.git","svn_url":"https://github.com/CraftAcademy/languaship_backend","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":5,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/5"},"html":{"href":"https://github.com/CraftAcademy/languaship_backend/pull/5"},"issue":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/issues/5"},"comments":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/CraftAcademy/languaship_backend/statuses/74e93a937f4eb8585fb6fd5e6edb51af13e2b3f4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AKidd95"}}