{"action":"opened","number":63,"pull_request":{"url":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls/63","id":238998892,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTk4ODky","html_url":"https://github.com/Chiazokam/iReporterApp/pull/63","diff_url":"https://github.com/Chiazokam/iReporterApp/pull/63.diff","patch_url":"https://github.com/Chiazokam/iReporterApp/pull/63.patch","issue_url":"https://api.github.com/repos/Chiazokam/iReporterApp/issues/63","number":63,"state":"open","locked":false,"title":"162603400 create view one redflag endpoint","user":{"login":"Chiazokam","id":26940294,"node_id":"MDQ6VXNlcjI2OTQwMjk0","avatar_url":"https://avatars3.githubusercontent.com/u/26940294?v=4","gravatar_id":"","url":"https://api.github.com/users/Chiazokam","html_url":"https://github.com/Chiazokam","followers_url":"https://api.github.com/users/Chiazokam/followers","following_url":"https://api.github.com/users/Chiazokam/following{/other_user}","gists_url":"https://api.github.com/users/Chiazokam/gists{/gist_id}","starred_url":"https://api.github.com/users/Chiazokam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chiazokam/subscriptions","organizations_url":"https://api.github.com/users/Chiazokam/orgs","repos_url":"https://api.github.com/users/Chiazokam/repos","events_url":"https://api.github.com/users/Chiazokam/events{/privacy}","received_events_url":"https://api.github.com/users/Chiazokam/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- implements tests for the view one redflag route\r\n- implements the endpoint\r\n\r\n#### Description of Task to be completed?\r\n- implement tests for the view one redflag route\r\n- implement the endpoint\r\n\r\n#### How should this be manually tested?\r\n- Clone the repo - `https://github.com/Chiazokam/iReporterApp`\r\n- Enter into the project directory - `cd iReporterApp`\r\n- switch to this branch - `checkout ft-api-viewOne-redflag-db-162603400`\r\n- Start the server `npm run start:dev`\r\n- Open `Postman`\r\n- On `postman` Send a `GET` request to `http://localhost:3000/api/v1/redflags/1 `\r\n- You should receive a successful response\r\n\r\n#### Any background context you want to provide?\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#162603400](https://www.pivotaltracker.com/story/show/162603400)\r\n","created_at":"2018-12-16T23:44:34Z","updated_at":"2018-12-16T23:44:34Z","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/Chiazokam/iReporterApp/pulls/63/commits","review_comments_url":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls/63/comments","review_comment_url":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Chiazokam/iReporterApp/issues/63/comments","statuses_url":"https://api.github.com/repos/Chiazokam/iReporterApp/statuses/7d6d42a7b422e4a79f57fd7e2933d53f260319d4","head":{"label":"Chiazokam:ft-api-viewOne-redflag-db-162603400","ref":"ft-api-viewOne-redflag-db-162603400","sha":"7d6d42a7b422e4a79f57fd7e2933d53f260319d4","user":{"login":"Chiazokam","id":26940294,"node_id":"MDQ6VXNlcjI2OTQwMjk0","avatar_url":"https://avatars3.githubusercontent.com/u/26940294?v=4","gravatar_id":"","url":"https://api.github.com/users/Chiazokam","html_url":"https://github.com/Chiazokam","followers_url":"https://api.github.com/users/Chiazokam/followers","following_url":"https://api.github.com/users/Chiazokam/following{/other_user}","gists_url":"https://api.github.com/users/Chiazokam/gists{/gist_id}","starred_url":"https://api.github.com/users/Chiazokam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chiazokam/subscriptions","organizations_url":"https://api.github.com/users/Chiazokam/orgs","repos_url":"https://api.github.com/users/Chiazokam/repos","events_url":"https://api.github.com/users/Chiazokam/events{/privacy}","received_events_url":"https://api.github.com/users/Chiazokam/received_events","type":"User","site_admin":false},"repo":{"id":159793119,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk3OTMxMTk=","name":"iReporterApp","full_name":"Chiazokam/iReporterApp","private":false,"owner":{"login":"Chiazokam","id":26940294,"node_id":"MDQ6VXNlcjI2OTQwMjk0","avatar_url":"https://avatars3.githubusercontent.com/u/26940294?v=4","gravatar_id":"","url":"https://api.github.com/users/Chiazokam","html_url":"https://github.com/Chiazokam","followers_url":"https://api.github.com/users/Chiazokam/followers","following_url":"https://api.github.com/users/Chiazokam/following{/other_user}","gists_url":"https://api.github.com/users/Chiazokam/gists{/gist_id}","starred_url":"https://api.github.com/users/Chiazokam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chiazokam/subscriptions","organizations_url":"https://api.github.com/users/Chiazokam/orgs","repos_url":"https://api.github.com/users/Chiazokam/repos","events_url":"https://api.github.com/users/Chiazokam/events{/privacy}","received_events_url":"https://api.github.com/users/Chiazokam/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Chiazokam/iReporterApp","description":"A citizen news-reporting app","fork":false,"url":"https://api.github.com/repos/Chiazokam/iReporterApp","forks_url":"https://api.github.com/repos/Chiazokam/iReporterApp/forks","keys_url":"https://api.github.com/repos/Chiazokam/iReporterApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chiazokam/iReporterApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chiazokam/iReporterApp/teams","hooks_url":"https://api.github.com/repos/Chiazokam/iReporterApp/hooks","issue_events_url":"https://api.github.com/repos/Chiazokam/iReporterApp/issues/events{/number}","events_url":"https://api.github.com/repos/Chiazokam/iReporterApp/events","assignees_url":"https://api.github.com/repos/Chiazokam/iReporterApp/assignees{/user}","branches_url":"https://api.github.com/repos/Chiazokam/iReporterApp/branches{/branch}","tags_url":"https://api.github.com/repos/Chiazokam/iReporterApp/tags","blobs_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chiazokam/iReporterApp/statuses/{sha}","languages_url":"https://api.github.com/repos/Chiazokam/iReporterApp/languages","stargazers_url":"https://api.github.com/repos/Chiazokam/iReporterApp/stargazers","contributors_url":"https://api.github.com/repos/Chiazokam/iReporterApp/contributors","subscribers_url":"https://api.github.com/repos/Chiazokam/iReporterApp/subscribers","subscription_url":"https://api.github.com/repos/Chiazokam/iReporterApp/subscription","commits_url":"https://api.github.com/repos/Chiazokam/iReporterApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chiazokam/iReporterApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chiazokam/iReporterApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chiazokam/iReporterApp/contents/{+path}","compare_url":"https://api.github.com/repos/Chiazokam/iReporterApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chiazokam/iReporterApp/merges","archive_url":"https://api.github.com/repos/Chiazokam/iReporterApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chiazokam/iReporterApp/downloads","issues_url":"https://api.github.com/repos/Chiazokam/iReporterApp/issues{/number}","pulls_url":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls{/number}","milestones_url":"https://api.github.com/repos/Chiazokam/iReporterApp/milestones{/number}","notifications_url":"https://api.github.com/repos/Chiazokam/iReporterApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chiazokam/iReporterApp/labels{/name}","releases_url":"https://api.github.com/repos/Chiazokam/iReporterApp/releases{/id}","deployments_url":"https://api.github.com/repos/Chiazokam/iReporterApp/deployments","created_at":"2018-11-30T08:34:52Z","updated_at":"2018-12-13T22:22:34Z","pushed_at":"2018-12-16T23:30:31Z","git_url":"git://github.com/Chiazokam/iReporterApp.git","ssh_url":"git@github.com:Chiazokam/iReporterApp.git","clone_url":"https://github.com/Chiazokam/iReporterApp.git","svn_url":"https://github.com/Chiazokam/iReporterApp","homepage":"","size":12435,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"Chiazokam:develop","ref":"develop","sha":"2556109b9105ba8d7c8da2806ab5319547c3efda","user":{"login":"Chiazokam","id":26940294,"node_id":"MDQ6VXNlcjI2OTQwMjk0","avatar_url":"https://avatars3.githubusercontent.com/u/26940294?v=4","gravatar_id":"","url":"https://api.github.com/users/Chiazokam","html_url":"https://github.com/Chiazokam","followers_url":"https://api.github.com/users/Chiazokam/followers","following_url":"https://api.github.com/users/Chiazokam/following{/other_user}","gists_url":"https://api.github.com/users/Chiazokam/gists{/gist_id}","starred_url":"https://api.github.com/users/Chiazokam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chiazokam/subscriptions","organizations_url":"https://api.github.com/users/Chiazokam/orgs","repos_url":"https://api.github.com/users/Chiazokam/repos","events_url":"https://api.github.com/users/Chiazokam/events{/privacy}","received_events_url":"https://api.github.com/users/Chiazokam/received_events","type":"User","site_admin":false},"repo":{"id":159793119,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk3OTMxMTk=","name":"iReporterApp","full_name":"Chiazokam/iReporterApp","private":false,"owner":{"login":"Chiazokam","id":26940294,"node_id":"MDQ6VXNlcjI2OTQwMjk0","avatar_url":"https://avatars3.githubusercontent.com/u/26940294?v=4","gravatar_id":"","url":"https://api.github.com/users/Chiazokam","html_url":"https://github.com/Chiazokam","followers_url":"https://api.github.com/users/Chiazokam/followers","following_url":"https://api.github.com/users/Chiazokam/following{/other_user}","gists_url":"https://api.github.com/users/Chiazokam/gists{/gist_id}","starred_url":"https://api.github.com/users/Chiazokam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chiazokam/subscriptions","organizations_url":"https://api.github.com/users/Chiazokam/orgs","repos_url":"https://api.github.com/users/Chiazokam/repos","events_url":"https://api.github.com/users/Chiazokam/events{/privacy}","received_events_url":"https://api.github.com/users/Chiazokam/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Chiazokam/iReporterApp","description":"A citizen news-reporting app","fork":false,"url":"https://api.github.com/repos/Chiazokam/iReporterApp","forks_url":"https://api.github.com/repos/Chiazokam/iReporterApp/forks","keys_url":"https://api.github.com/repos/Chiazokam/iReporterApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chiazokam/iReporterApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chiazokam/iReporterApp/teams","hooks_url":"https://api.github.com/repos/Chiazokam/iReporterApp/hooks","issue_events_url":"https://api.github.com/repos/Chiazokam/iReporterApp/issues/events{/number}","events_url":"https://api.github.com/repos/Chiazokam/iReporterApp/events","assignees_url":"https://api.github.com/repos/Chiazokam/iReporterApp/assignees{/user}","branches_url":"https://api.github.com/repos/Chiazokam/iReporterApp/branches{/branch}","tags_url":"https://api.github.com/repos/Chiazokam/iReporterApp/tags","blobs_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chiazokam/iReporterApp/statuses/{sha}","languages_url":"https://api.github.com/repos/Chiazokam/iReporterApp/languages","stargazers_url":"https://api.github.com/repos/Chiazokam/iReporterApp/stargazers","contributors_url":"https://api.github.com/repos/Chiazokam/iReporterApp/contributors","subscribers_url":"https://api.github.com/repos/Chiazokam/iReporterApp/subscribers","subscription_url":"https://api.github.com/repos/Chiazokam/iReporterApp/subscription","commits_url":"https://api.github.com/repos/Chiazokam/iReporterApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chiazokam/iReporterApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chiazokam/iReporterApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chiazokam/iReporterApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chiazokam/iReporterApp/contents/{+path}","compare_url":"https://api.github.com/repos/Chiazokam/iReporterApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chiazokam/iReporterApp/merges","archive_url":"https://api.github.com/repos/Chiazokam/iReporterApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chiazokam/iReporterApp/downloads","issues_url":"https://api.github.com/repos/Chiazokam/iReporterApp/issues{/number}","pulls_url":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls{/number}","milestones_url":"https://api.github.com/repos/Chiazokam/iReporterApp/milestones{/number}","notifications_url":"https://api.github.com/repos/Chiazokam/iReporterApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chiazokam/iReporterApp/labels{/name}","releases_url":"https://api.github.com/repos/Chiazokam/iReporterApp/releases{/id}","deployments_url":"https://api.github.com/repos/Chiazokam/iReporterApp/deployments","created_at":"2018-11-30T08:34:52Z","updated_at":"2018-12-13T22:22:34Z","pushed_at":"2018-12-16T23:30:31Z","git_url":"git://github.com/Chiazokam/iReporterApp.git","ssh_url":"git@github.com:Chiazokam/iReporterApp.git","clone_url":"https://github.com/Chiazokam/iReporterApp.git","svn_url":"https://github.com/Chiazokam/iReporterApp","homepage":"","size":12435,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls/63"},"html":{"href":"https://github.com/Chiazokam/iReporterApp/pull/63"},"issue":{"href":"https://api.github.com/repos/Chiazokam/iReporterApp/issues/63"},"comments":{"href":"https://api.github.com/repos/Chiazokam/iReporterApp/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Chiazokam/iReporterApp/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/Chiazokam/iReporterApp/statuses/7d6d42a7b422e4a79f57fd7e2933d53f260319d4"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":184,"deletions":67,"changed_files":10}}
{"actor":{"display_login":"Chiazokam"}}