{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls/42","id":237166979,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MTY2OTc5","html_url":"https://github.com/ope-oguntoye/iReporter/pull/42","diff_url":"https://github.com/ope-oguntoye/iReporter/pull/42.diff","patch_url":"https://github.com/ope-oguntoye/iReporter/pull/42.patch","issue_url":"https://api.github.com/repos/ope-oguntoye/iReporter/issues/42","number":42,"state":"open","locked":false,"title":"#162531540 User can fetch specific intervention record by ID","user":{"login":"ope-oguntoye","id":40476712,"node_id":"MDQ6VXNlcjQwNDc2NzEy","avatar_url":"https://avatars0.githubusercontent.com/u/40476712?v=4","gravatar_id":"","url":"https://api.github.com/users/ope-oguntoye","html_url":"https://github.com/ope-oguntoye","followers_url":"https://api.github.com/users/ope-oguntoye/followers","following_url":"https://api.github.com/users/ope-oguntoye/following{/other_user}","gists_url":"https://api.github.com/users/ope-oguntoye/gists{/gist_id}","starred_url":"https://api.github.com/users/ope-oguntoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ope-oguntoye/subscriptions","organizations_url":"https://api.github.com/users/ope-oguntoye/orgs","repos_url":"https://api.github.com/users/ope-oguntoye/repos","events_url":"https://api.github.com/users/ope-oguntoye/events{/privacy}","received_events_url":"https://api.github.com/users/ope-oguntoye/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\n\r\nSets up the \"specific intervention\" record fetching endpoint(`GET`) at `/api/v1/interventions/:id` \r\n\r\n**Description of Task to be completed?**\r\n- Add tests for fetching a specific intervention record by id\r\n- Implement record specific intervention record fetching route\r\n\r\n**How should this be manually tested?**\r\n- Clone this repository\r\n- In your local copy checkout `ft-get-one-intervention-162531540`\r\n- run `npm run devstart`\r\n- Create some records\r\n test intervention record fetching by sending get requests `${ROOT_URL}/interventions/:id` \r\nwhere `${ROOT_URL}` is the API prefix URL on your local machine and `:id` is the id of the order to fetch\r\n\r\n**Any background context you want to provide?**\r\n\r\nN/A\r\n\r\n**What are the relevant pivotal tracker stories?**\r\n\r\n[162531540](https://www.pivotaltracker.com/story/show/162531540)\r\n\r\nScreenshots (if appropriate)\r\n\r\nN/A\r\n\r\nQuestions:\r\n\r\nN/A","created_at":"2018-12-09T23:54:59Z","updated_at":"2018-12-09T23:54:59Z","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/ope-oguntoye/iReporter/pulls/42/commits","review_comments_url":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls/42/comments","review_comment_url":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ope-oguntoye/iReporter/issues/42/comments","statuses_url":"https://api.github.com/repos/ope-oguntoye/iReporter/statuses/3496dffa3b0d577c6bf71b77f10fe0e3321168e9","head":{"label":"ope-oguntoye:ft-get-one-intervention-162531540","ref":"ft-get-one-intervention-162531540","sha":"3496dffa3b0d577c6bf71b77f10fe0e3321168e9","user":{"login":"ope-oguntoye","id":40476712,"node_id":"MDQ6VXNlcjQwNDc2NzEy","avatar_url":"https://avatars0.githubusercontent.com/u/40476712?v=4","gravatar_id":"","url":"https://api.github.com/users/ope-oguntoye","html_url":"https://github.com/ope-oguntoye","followers_url":"https://api.github.com/users/ope-oguntoye/followers","following_url":"https://api.github.com/users/ope-oguntoye/following{/other_user}","gists_url":"https://api.github.com/users/ope-oguntoye/gists{/gist_id}","starred_url":"https://api.github.com/users/ope-oguntoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ope-oguntoye/subscriptions","organizations_url":"https://api.github.com/users/ope-oguntoye/orgs","repos_url":"https://api.github.com/users/ope-oguntoye/repos","events_url":"https://api.github.com/users/ope-oguntoye/events{/privacy}","received_events_url":"https://api.github.com/users/ope-oguntoye/received_events","type":"User","site_admin":false},"repo":{"id":158883196,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg4ODMxOTY=","name":"iReporter","full_name":"ope-oguntoye/iReporter","private":false,"owner":{"login":"ope-oguntoye","id":40476712,"node_id":"MDQ6VXNlcjQwNDc2NzEy","avatar_url":"https://avatars0.githubusercontent.com/u/40476712?v=4","gravatar_id":"","url":"https://api.github.com/users/ope-oguntoye","html_url":"https://github.com/ope-oguntoye","followers_url":"https://api.github.com/users/ope-oguntoye/followers","following_url":"https://api.github.com/users/ope-oguntoye/following{/other_user}","gists_url":"https://api.github.com/users/ope-oguntoye/gists{/gist_id}","starred_url":"https://api.github.com/users/ope-oguntoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ope-oguntoye/subscriptions","organizations_url":"https://api.github.com/users/ope-oguntoye/orgs","repos_url":"https://api.github.com/users/ope-oguntoye/repos","events_url":"https://api.github.com/users/ope-oguntoye/events{/privacy}","received_events_url":"https://api.github.com/users/ope-oguntoye/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ope-oguntoye/iReporter","description":"iReporter enables any/every citizen to bring any form of corruption to the notice of appropriate authorities and the general public. Users can also report on things that need government intervention","fork":false,"url":"https://api.github.com/repos/ope-oguntoye/iReporter","forks_url":"https://api.github.com/repos/ope-oguntoye/iReporter/forks","keys_url":"https://api.github.com/repos/ope-oguntoye/iReporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ope-oguntoye/iReporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ope-oguntoye/iReporter/teams","hooks_url":"https://api.github.com/repos/ope-oguntoye/iReporter/hooks","issue_events_url":"https://api.github.com/repos/ope-oguntoye/iReporter/issues/events{/number}","events_url":"https://api.github.com/repos/ope-oguntoye/iReporter/events","assignees_url":"https://api.github.com/repos/ope-oguntoye/iReporter/assignees{/user}","branches_url":"https://api.github.com/repos/ope-oguntoye/iReporter/branches{/branch}","tags_url":"https://api.github.com/repos/ope-oguntoye/iReporter/tags","blobs_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ope-oguntoye/iReporter/statuses/{sha}","languages_url":"https://api.github.com/repos/ope-oguntoye/iReporter/languages","stargazers_url":"https://api.github.com/repos/ope-oguntoye/iReporter/stargazers","contributors_url":"https://api.github.com/repos/ope-oguntoye/iReporter/contributors","subscribers_url":"https://api.github.com/repos/ope-oguntoye/iReporter/subscribers","subscription_url":"https://api.github.com/repos/ope-oguntoye/iReporter/subscription","commits_url":"https://api.github.com/repos/ope-oguntoye/iReporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/ope-oguntoye/iReporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/ope-oguntoye/iReporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/ope-oguntoye/iReporter/contents/{+path}","compare_url":"https://api.github.com/repos/ope-oguntoye/iReporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ope-oguntoye/iReporter/merges","archive_url":"https://api.github.com/repos/ope-oguntoye/iReporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ope-oguntoye/iReporter/downloads","issues_url":"https://api.github.com/repos/ope-oguntoye/iReporter/issues{/number}","pulls_url":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls{/number}","milestones_url":"https://api.github.com/repos/ope-oguntoye/iReporter/milestones{/number}","notifications_url":"https://api.github.com/repos/ope-oguntoye/iReporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ope-oguntoye/iReporter/labels{/name}","releases_url":"https://api.github.com/repos/ope-oguntoye/iReporter/releases{/id}","deployments_url":"https://api.github.com/repos/ope-oguntoye/iReporter/deployments","created_at":"2018-11-23T22:30:11Z","updated_at":"2018-12-09T23:27:56Z","pushed_at":"2018-12-09T23:51:50Z","git_url":"git://github.com/ope-oguntoye/iReporter.git","ssh_url":"git@github.com:ope-oguntoye/iReporter.git","clone_url":"https://github.com/ope-oguntoye/iReporter.git","svn_url":"https://github.com/ope-oguntoye/iReporter","homepage":"","size":451,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"ope-oguntoye:develop","ref":"develop","sha":"f34cf2a16d683fd0c013ceeddec874bcd56c00b1","user":{"login":"ope-oguntoye","id":40476712,"node_id":"MDQ6VXNlcjQwNDc2NzEy","avatar_url":"https://avatars0.githubusercontent.com/u/40476712?v=4","gravatar_id":"","url":"https://api.github.com/users/ope-oguntoye","html_url":"https://github.com/ope-oguntoye","followers_url":"https://api.github.com/users/ope-oguntoye/followers","following_url":"https://api.github.com/users/ope-oguntoye/following{/other_user}","gists_url":"https://api.github.com/users/ope-oguntoye/gists{/gist_id}","starred_url":"https://api.github.com/users/ope-oguntoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ope-oguntoye/subscriptions","organizations_url":"https://api.github.com/users/ope-oguntoye/orgs","repos_url":"https://api.github.com/users/ope-oguntoye/repos","events_url":"https://api.github.com/users/ope-oguntoye/events{/privacy}","received_events_url":"https://api.github.com/users/ope-oguntoye/received_events","type":"User","site_admin":false},"repo":{"id":158883196,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg4ODMxOTY=","name":"iReporter","full_name":"ope-oguntoye/iReporter","private":false,"owner":{"login":"ope-oguntoye","id":40476712,"node_id":"MDQ6VXNlcjQwNDc2NzEy","avatar_url":"https://avatars0.githubusercontent.com/u/40476712?v=4","gravatar_id":"","url":"https://api.github.com/users/ope-oguntoye","html_url":"https://github.com/ope-oguntoye","followers_url":"https://api.github.com/users/ope-oguntoye/followers","following_url":"https://api.github.com/users/ope-oguntoye/following{/other_user}","gists_url":"https://api.github.com/users/ope-oguntoye/gists{/gist_id}","starred_url":"https://api.github.com/users/ope-oguntoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ope-oguntoye/subscriptions","organizations_url":"https://api.github.com/users/ope-oguntoye/orgs","repos_url":"https://api.github.com/users/ope-oguntoye/repos","events_url":"https://api.github.com/users/ope-oguntoye/events{/privacy}","received_events_url":"https://api.github.com/users/ope-oguntoye/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ope-oguntoye/iReporter","description":"iReporter enables any/every citizen to bring any form of corruption to the notice of appropriate authorities and the general public. Users can also report on things that need government intervention","fork":false,"url":"https://api.github.com/repos/ope-oguntoye/iReporter","forks_url":"https://api.github.com/repos/ope-oguntoye/iReporter/forks","keys_url":"https://api.github.com/repos/ope-oguntoye/iReporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ope-oguntoye/iReporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ope-oguntoye/iReporter/teams","hooks_url":"https://api.github.com/repos/ope-oguntoye/iReporter/hooks","issue_events_url":"https://api.github.com/repos/ope-oguntoye/iReporter/issues/events{/number}","events_url":"https://api.github.com/repos/ope-oguntoye/iReporter/events","assignees_url":"https://api.github.com/repos/ope-oguntoye/iReporter/assignees{/user}","branches_url":"https://api.github.com/repos/ope-oguntoye/iReporter/branches{/branch}","tags_url":"https://api.github.com/repos/ope-oguntoye/iReporter/tags","blobs_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ope-oguntoye/iReporter/statuses/{sha}","languages_url":"https://api.github.com/repos/ope-oguntoye/iReporter/languages","stargazers_url":"https://api.github.com/repos/ope-oguntoye/iReporter/stargazers","contributors_url":"https://api.github.com/repos/ope-oguntoye/iReporter/contributors","subscribers_url":"https://api.github.com/repos/ope-oguntoye/iReporter/subscribers","subscription_url":"https://api.github.com/repos/ope-oguntoye/iReporter/subscription","commits_url":"https://api.github.com/repos/ope-oguntoye/iReporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/ope-oguntoye/iReporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/ope-oguntoye/iReporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/ope-oguntoye/iReporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/ope-oguntoye/iReporter/contents/{+path}","compare_url":"https://api.github.com/repos/ope-oguntoye/iReporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ope-oguntoye/iReporter/merges","archive_url":"https://api.github.com/repos/ope-oguntoye/iReporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ope-oguntoye/iReporter/downloads","issues_url":"https://api.github.com/repos/ope-oguntoye/iReporter/issues{/number}","pulls_url":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls{/number}","milestones_url":"https://api.github.com/repos/ope-oguntoye/iReporter/milestones{/number}","notifications_url":"https://api.github.com/repos/ope-oguntoye/iReporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ope-oguntoye/iReporter/labels{/name}","releases_url":"https://api.github.com/repos/ope-oguntoye/iReporter/releases{/id}","deployments_url":"https://api.github.com/repos/ope-oguntoye/iReporter/deployments","created_at":"2018-11-23T22:30:11Z","updated_at":"2018-12-09T23:27:56Z","pushed_at":"2018-12-09T23:51:50Z","git_url":"git://github.com/ope-oguntoye/iReporter.git","ssh_url":"git@github.com:ope-oguntoye/iReporter.git","clone_url":"https://github.com/ope-oguntoye/iReporter.git","svn_url":"https://github.com/ope-oguntoye/iReporter","homepage":"","size":451,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls/42"},"html":{"href":"https://github.com/ope-oguntoye/iReporter/pull/42"},"issue":{"href":"https://api.github.com/repos/ope-oguntoye/iReporter/issues/42"},"comments":{"href":"https://api.github.com/repos/ope-oguntoye/iReporter/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ope-oguntoye/iReporter/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/ope-oguntoye/iReporter/statuses/3496dffa3b0d577c6bf71b77f10fe0e3321168e9"}},"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":2,"additions":21,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"ope-oguntoye"}}