{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/chingsley/ireporter/pulls/3","id":234368178,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MzY4MTc4","html_url":"https://github.com/chingsley/ireporter/pull/3","diff_url":"https://github.com/chingsley/ireporter/pull/3.diff","patch_url":"https://github.com/chingsley/ireporter/pull/3.patch","issue_url":"https://api.github.com/repos/chingsley/ireporter/issues/3","number":3,"state":"open","locked":false,"title":"Ft postredflag","user":{"login":"chingsley","id":38833766,"node_id":"MDQ6VXNlcjM4ODMzNzY2","avatar_url":"https://avatars0.githubusercontent.com/u/38833766?v=4","gravatar_id":"","url":"https://api.github.com/users/chingsley","html_url":"https://github.com/chingsley","followers_url":"https://api.github.com/users/chingsley/followers","following_url":"https://api.github.com/users/chingsley/following{/other_user}","gists_url":"https://api.github.com/users/chingsley/gists{/gist_id}","starred_url":"https://api.github.com/users/chingsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingsley/subscriptions","organizations_url":"https://api.github.com/users/chingsley/orgs","repos_url":"https://api.github.com/users/chingsley/repos","events_url":"https://api.github.com/users/chingsley/events{/privacy}","received_events_url":"https://api.github.com/users/chingsley/received_events","type":"User","site_admin":false},"body":"## Description:\r\nThis pull request deals with the implementation of the route to create a new redflag (POST/redflags)\r\n## How to test this route\r\nin package.json, make sure the script contains the test attribute:\r\n\"test\": \"export NODE_ENV=test && nyc --reporter=lcov mocha --recursive ./tests/* --require babel-register --exit\"\r\nThen run the command: npm test.\r\nAlso the route can be tested using postman. Enter the address 'http://localhost[port number]/api/v1/redflags'. Send the req with the necessary payload : email, location, type, comment, (optionally: images, videos). The hit send.","created_at":"2018-11-28T17:45:13Z","updated_at":"2018-11-28T17:45:13Z","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/chingsley/ireporter/pulls/3/commits","review_comments_url":"https://api.github.com/repos/chingsley/ireporter/pulls/3/comments","review_comment_url":"https://api.github.com/repos/chingsley/ireporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chingsley/ireporter/issues/3/comments","statuses_url":"https://api.github.com/repos/chingsley/ireporter/statuses/1c8e278f938f28e2180c041a3a9d24ff64ef03e6","head":{"label":"chingsley:ft-postredflag","ref":"ft-postredflag","sha":"1c8e278f938f28e2180c041a3a9d24ff64ef03e6","user":{"login":"chingsley","id":38833766,"node_id":"MDQ6VXNlcjM4ODMzNzY2","avatar_url":"https://avatars0.githubusercontent.com/u/38833766?v=4","gravatar_id":"","url":"https://api.github.com/users/chingsley","html_url":"https://github.com/chingsley","followers_url":"https://api.github.com/users/chingsley/followers","following_url":"https://api.github.com/users/chingsley/following{/other_user}","gists_url":"https://api.github.com/users/chingsley/gists{/gist_id}","starred_url":"https://api.github.com/users/chingsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingsley/subscriptions","organizations_url":"https://api.github.com/users/chingsley/orgs","repos_url":"https://api.github.com/users/chingsley/repos","events_url":"https://api.github.com/users/chingsley/events{/privacy}","received_events_url":"https://api.github.com/users/chingsley/received_events","type":"User","site_admin":false},"repo":{"id":158478613,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg0Nzg2MTM=","name":"ireporter","full_name":"chingsley/ireporter","private":false,"owner":{"login":"chingsley","id":38833766,"node_id":"MDQ6VXNlcjM4ODMzNzY2","avatar_url":"https://avatars0.githubusercontent.com/u/38833766?v=4","gravatar_id":"","url":"https://api.github.com/users/chingsley","html_url":"https://github.com/chingsley","followers_url":"https://api.github.com/users/chingsley/followers","following_url":"https://api.github.com/users/chingsley/following{/other_user}","gists_url":"https://api.github.com/users/chingsley/gists{/gist_id}","starred_url":"https://api.github.com/users/chingsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingsley/subscriptions","organizations_url":"https://api.github.com/users/chingsley/orgs","repos_url":"https://api.github.com/users/chingsley/repos","events_url":"https://api.github.com/users/chingsley/events{/privacy}","received_events_url":"https://api.github.com/users/chingsley/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chingsley/ireporter","description":"A web app that enables citizens to bring corruption to the notice of the appropriate authorities and the general public.","fork":false,"url":"https://api.github.com/repos/chingsley/ireporter","forks_url":"https://api.github.com/repos/chingsley/ireporter/forks","keys_url":"https://api.github.com/repos/chingsley/ireporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chingsley/ireporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chingsley/ireporter/teams","hooks_url":"https://api.github.com/repos/chingsley/ireporter/hooks","issue_events_url":"https://api.github.com/repos/chingsley/ireporter/issues/events{/number}","events_url":"https://api.github.com/repos/chingsley/ireporter/events","assignees_url":"https://api.github.com/repos/chingsley/ireporter/assignees{/user}","branches_url":"https://api.github.com/repos/chingsley/ireporter/branches{/branch}","tags_url":"https://api.github.com/repos/chingsley/ireporter/tags","blobs_url":"https://api.github.com/repos/chingsley/ireporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chingsley/ireporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chingsley/ireporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/chingsley/ireporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chingsley/ireporter/statuses/{sha}","languages_url":"https://api.github.com/repos/chingsley/ireporter/languages","stargazers_url":"https://api.github.com/repos/chingsley/ireporter/stargazers","contributors_url":"https://api.github.com/repos/chingsley/ireporter/contributors","subscribers_url":"https://api.github.com/repos/chingsley/ireporter/subscribers","subscription_url":"https://api.github.com/repos/chingsley/ireporter/subscription","commits_url":"https://api.github.com/repos/chingsley/ireporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/chingsley/ireporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/chingsley/ireporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/chingsley/ireporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/chingsley/ireporter/contents/{+path}","compare_url":"https://api.github.com/repos/chingsley/ireporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chingsley/ireporter/merges","archive_url":"https://api.github.com/repos/chingsley/ireporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chingsley/ireporter/downloads","issues_url":"https://api.github.com/repos/chingsley/ireporter/issues{/number}","pulls_url":"https://api.github.com/repos/chingsley/ireporter/pulls{/number}","milestones_url":"https://api.github.com/repos/chingsley/ireporter/milestones{/number}","notifications_url":"https://api.github.com/repos/chingsley/ireporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chingsley/ireporter/labels{/name}","releases_url":"https://api.github.com/repos/chingsley/ireporter/releases{/id}","deployments_url":"https://api.github.com/repos/chingsley/ireporter/deployments","created_at":"2018-11-21T02:21:51Z","updated_at":"2018-11-27T17:08:20Z","pushed_at":"2018-11-28T17:35:49Z","git_url":"git://github.com/chingsley/ireporter.git","ssh_url":"git@github.com:chingsley/ireporter.git","clone_url":"https://github.com/chingsley/ireporter.git","svn_url":"https://github.com/chingsley/ireporter","homepage":null,"size":23307,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"chingsley:develop","ref":"develop","sha":"9e3c991415fa430a3a0cf5adf42899fe499f789f","user":{"login":"chingsley","id":38833766,"node_id":"MDQ6VXNlcjM4ODMzNzY2","avatar_url":"https://avatars0.githubusercontent.com/u/38833766?v=4","gravatar_id":"","url":"https://api.github.com/users/chingsley","html_url":"https://github.com/chingsley","followers_url":"https://api.github.com/users/chingsley/followers","following_url":"https://api.github.com/users/chingsley/following{/other_user}","gists_url":"https://api.github.com/users/chingsley/gists{/gist_id}","starred_url":"https://api.github.com/users/chingsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingsley/subscriptions","organizations_url":"https://api.github.com/users/chingsley/orgs","repos_url":"https://api.github.com/users/chingsley/repos","events_url":"https://api.github.com/users/chingsley/events{/privacy}","received_events_url":"https://api.github.com/users/chingsley/received_events","type":"User","site_admin":false},"repo":{"id":158478613,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg0Nzg2MTM=","name":"ireporter","full_name":"chingsley/ireporter","private":false,"owner":{"login":"chingsley","id":38833766,"node_id":"MDQ6VXNlcjM4ODMzNzY2","avatar_url":"https://avatars0.githubusercontent.com/u/38833766?v=4","gravatar_id":"","url":"https://api.github.com/users/chingsley","html_url":"https://github.com/chingsley","followers_url":"https://api.github.com/users/chingsley/followers","following_url":"https://api.github.com/users/chingsley/following{/other_user}","gists_url":"https://api.github.com/users/chingsley/gists{/gist_id}","starred_url":"https://api.github.com/users/chingsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingsley/subscriptions","organizations_url":"https://api.github.com/users/chingsley/orgs","repos_url":"https://api.github.com/users/chingsley/repos","events_url":"https://api.github.com/users/chingsley/events{/privacy}","received_events_url":"https://api.github.com/users/chingsley/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chingsley/ireporter","description":"A web app that enables citizens to bring corruption to the notice of the appropriate authorities and the general public.","fork":false,"url":"https://api.github.com/repos/chingsley/ireporter","forks_url":"https://api.github.com/repos/chingsley/ireporter/forks","keys_url":"https://api.github.com/repos/chingsley/ireporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chingsley/ireporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chingsley/ireporter/teams","hooks_url":"https://api.github.com/repos/chingsley/ireporter/hooks","issue_events_url":"https://api.github.com/repos/chingsley/ireporter/issues/events{/number}","events_url":"https://api.github.com/repos/chingsley/ireporter/events","assignees_url":"https://api.github.com/repos/chingsley/ireporter/assignees{/user}","branches_url":"https://api.github.com/repos/chingsley/ireporter/branches{/branch}","tags_url":"https://api.github.com/repos/chingsley/ireporter/tags","blobs_url":"https://api.github.com/repos/chingsley/ireporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chingsley/ireporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chingsley/ireporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/chingsley/ireporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chingsley/ireporter/statuses/{sha}","languages_url":"https://api.github.com/repos/chingsley/ireporter/languages","stargazers_url":"https://api.github.com/repos/chingsley/ireporter/stargazers","contributors_url":"https://api.github.com/repos/chingsley/ireporter/contributors","subscribers_url":"https://api.github.com/repos/chingsley/ireporter/subscribers","subscription_url":"https://api.github.com/repos/chingsley/ireporter/subscription","commits_url":"https://api.github.com/repos/chingsley/ireporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/chingsley/ireporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/chingsley/ireporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/chingsley/ireporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/chingsley/ireporter/contents/{+path}","compare_url":"https://api.github.com/repos/chingsley/ireporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chingsley/ireporter/merges","archive_url":"https://api.github.com/repos/chingsley/ireporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chingsley/ireporter/downloads","issues_url":"https://api.github.com/repos/chingsley/ireporter/issues{/number}","pulls_url":"https://api.github.com/repos/chingsley/ireporter/pulls{/number}","milestones_url":"https://api.github.com/repos/chingsley/ireporter/milestones{/number}","notifications_url":"https://api.github.com/repos/chingsley/ireporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chingsley/ireporter/labels{/name}","releases_url":"https://api.github.com/repos/chingsley/ireporter/releases{/id}","deployments_url":"https://api.github.com/repos/chingsley/ireporter/deployments","created_at":"2018-11-21T02:21:51Z","updated_at":"2018-11-27T17:08:20Z","pushed_at":"2018-11-28T17:35:49Z","git_url":"git://github.com/chingsley/ireporter.git","ssh_url":"git@github.com:chingsley/ireporter.git","clone_url":"https://github.com/chingsley/ireporter.git","svn_url":"https://github.com/chingsley/ireporter","homepage":null,"size":23307,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/chingsley/ireporter/pulls/3"},"html":{"href":"https://github.com/chingsley/ireporter/pull/3"},"issue":{"href":"https://api.github.com/repos/chingsley/ireporter/issues/3"},"comments":{"href":"https://api.github.com/repos/chingsley/ireporter/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/chingsley/ireporter/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/chingsley/ireporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chingsley/ireporter/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/chingsley/ireporter/statuses/1c8e278f938f28e2180c041a3a9d24ff64ef03e6"}},"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":8,"additions":552,"deletions":211,"changed_files":23}}
{"actor":{"display_login":"chingsley"}}