{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls/15","id":191728941,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNzI4OTQx","html_url":"https://github.com/antokish/Maintenance-Tracker/pull/15","diff_url":"https://github.com/antokish/Maintenance-Tracker/pull/15.diff","patch_url":"https://github.com/antokish/Maintenance-Tracker/pull/15.patch","issue_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues/15","number":15,"state":"closed","locked":false,"title":"#157929805 get request for a logged in user ","user":{"login":"antokish","id":9848354,"node_id":"MDQ6VXNlcjk4NDgzNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9848354?v=4","gravatar_id":"","url":"https://api.github.com/users/antokish","html_url":"https://github.com/antokish","followers_url":"https://api.github.com/users/antokish/followers","following_url":"https://api.github.com/users/antokish/following{/other_user}","gists_url":"https://api.github.com/users/antokish/gists{/gist_id}","starred_url":"https://api.github.com/users/antokish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antokish/subscriptions","organizations_url":"https://api.github.com/users/antokish/orgs","repos_url":"https://api.github.com/users/antokish/repos","events_url":"https://api.github.com/users/antokish/events{/privacy}","received_events_url":"https://api.github.com/users/antokish/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nHave a REST endpoint that gets a request for a logged in user(by id)\r\n\r\n#### Description of Task to be completed?\r\nHave the following endpoint working:\r\n`GET /api/v1/user/request/<id>`\r\n\r\n#### How should this be manually tested?\r\n\r\n1. Clone the repo: `git clone https://github.com/antokish/Maintenance-Tracker.git`\r\n2. cd into the cloned folder: `cd Maintenance-Tracker/`\r\n3. run: `$python run.py`\r\n4. Enter this url in postman: 'http://127.0.0.1:5000/api/v1/user/request/1`\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#157929805](https://www.pivotaltracker.com/story/show/157929805)\r\n\r\n#### Screenshots\r\n![screenshot from 2018-05-31 14-33-51](https://user-images.githubusercontent.com/9848354/40780581-8d9eca74-64e1-11e8-993c-74d7511f533d.png)\r\n","created_at":"2018-05-31T11:48:37Z","updated_at":"2018-05-31T20:48:03Z","closed_at":"2018-05-31T20:48:03Z","merged_at":"2018-05-31T20:48:03Z","merge_commit_sha":"a90be44b74390f696680c8cc8182b13db9778d60","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls/15/commits","review_comments_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls/15/comments","review_comment_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues/15/comments","statuses_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/statuses/55b49176544fcd7cb7a63a888618a7daa5bb19c7","head":{"label":"antokish:ft-get-request-byId-endpoint-157929805","ref":"ft-get-request-byId-endpoint-157929805","sha":"55b49176544fcd7cb7a63a888618a7daa5bb19c7","user":{"login":"antokish","id":9848354,"node_id":"MDQ6VXNlcjk4NDgzNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9848354?v=4","gravatar_id":"","url":"https://api.github.com/users/antokish","html_url":"https://github.com/antokish","followers_url":"https://api.github.com/users/antokish/followers","following_url":"https://api.github.com/users/antokish/following{/other_user}","gists_url":"https://api.github.com/users/antokish/gists{/gist_id}","starred_url":"https://api.github.com/users/antokish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antokish/subscriptions","organizations_url":"https://api.github.com/users/antokish/orgs","repos_url":"https://api.github.com/users/antokish/repos","events_url":"https://api.github.com/users/antokish/events{/privacy}","received_events_url":"https://api.github.com/users/antokish/received_events","type":"User","site_admin":false},"repo":{"id":134256988,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyNTY5ODg=","name":"Maintenance-Tracker","full_name":"antokish/Maintenance-Tracker","owner":{"login":"antokish","id":9848354,"node_id":"MDQ6VXNlcjk4NDgzNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9848354?v=4","gravatar_id":"","url":"https://api.github.com/users/antokish","html_url":"https://github.com/antokish","followers_url":"https://api.github.com/users/antokish/followers","following_url":"https://api.github.com/users/antokish/following{/other_user}","gists_url":"https://api.github.com/users/antokish/gists{/gist_id}","starred_url":"https://api.github.com/users/antokish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antokish/subscriptions","organizations_url":"https://api.github.com/users/antokish/orgs","repos_url":"https://api.github.com/users/antokish/repos","events_url":"https://api.github.com/users/antokish/events{/privacy}","received_events_url":"https://api.github.com/users/antokish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antokish/Maintenance-Tracker","description":"Maintenance Tracker App is an application that provides users with the ability to reach out to operations or repairs department regarding repair or maintenance requests and monitor the status of their request.","fork":false,"url":"https://api.github.com/repos/antokish/Maintenance-Tracker","forks_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/deployments","created_at":"2018-05-21T10:56:51Z","updated_at":"2018-05-31T20:47:46Z","pushed_at":"2018-05-31T20:48:03Z","git_url":"git://github.com/antokish/Maintenance-Tracker.git","ssh_url":"git@github.com:antokish/Maintenance-Tracker.git","clone_url":"https://github.com/antokish/Maintenance-Tracker.git","svn_url":"https://github.com/antokish/Maintenance-Tracker","homepage":null,"size":131,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"antokish:develop","ref":"develop","sha":"8352749191bd7ccd126cdc0ebc82216ceb513f88","user":{"login":"antokish","id":9848354,"node_id":"MDQ6VXNlcjk4NDgzNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9848354?v=4","gravatar_id":"","url":"https://api.github.com/users/antokish","html_url":"https://github.com/antokish","followers_url":"https://api.github.com/users/antokish/followers","following_url":"https://api.github.com/users/antokish/following{/other_user}","gists_url":"https://api.github.com/users/antokish/gists{/gist_id}","starred_url":"https://api.github.com/users/antokish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antokish/subscriptions","organizations_url":"https://api.github.com/users/antokish/orgs","repos_url":"https://api.github.com/users/antokish/repos","events_url":"https://api.github.com/users/antokish/events{/privacy}","received_events_url":"https://api.github.com/users/antokish/received_events","type":"User","site_admin":false},"repo":{"id":134256988,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyNTY5ODg=","name":"Maintenance-Tracker","full_name":"antokish/Maintenance-Tracker","owner":{"login":"antokish","id":9848354,"node_id":"MDQ6VXNlcjk4NDgzNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9848354?v=4","gravatar_id":"","url":"https://api.github.com/users/antokish","html_url":"https://github.com/antokish","followers_url":"https://api.github.com/users/antokish/followers","following_url":"https://api.github.com/users/antokish/following{/other_user}","gists_url":"https://api.github.com/users/antokish/gists{/gist_id}","starred_url":"https://api.github.com/users/antokish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antokish/subscriptions","organizations_url":"https://api.github.com/users/antokish/orgs","repos_url":"https://api.github.com/users/antokish/repos","events_url":"https://api.github.com/users/antokish/events{/privacy}","received_events_url":"https://api.github.com/users/antokish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antokish/Maintenance-Tracker","description":"Maintenance Tracker App is an application that provides users with the ability to reach out to operations or repairs department regarding repair or maintenance requests and monitor the status of their request.","fork":false,"url":"https://api.github.com/repos/antokish/Maintenance-Tracker","forks_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/antokish/Maintenance-Tracker/deployments","created_at":"2018-05-21T10:56:51Z","updated_at":"2018-05-31T20:47:46Z","pushed_at":"2018-05-31T20:48:03Z","git_url":"git://github.com/antokish/Maintenance-Tracker.git","ssh_url":"git@github.com:antokish/Maintenance-Tracker.git","clone_url":"https://github.com/antokish/Maintenance-Tracker.git","svn_url":"https://github.com/antokish/Maintenance-Tracker","homepage":null,"size":131,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls/15"},"html":{"href":"https://github.com/antokish/Maintenance-Tracker/pull/15"},"issue":{"href":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues/15"},"comments":{"href":"https://api.github.com/repos/antokish/Maintenance-Tracker/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/antokish/Maintenance-Tracker/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/antokish/Maintenance-Tracker/statuses/55b49176544fcd7cb7a63a888618a7daa5bb19c7"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"antokish","id":9848354,"node_id":"MDQ6VXNlcjk4NDgzNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9848354?v=4","gravatar_id":"","url":"https://api.github.com/users/antokish","html_url":"https://github.com/antokish","followers_url":"https://api.github.com/users/antokish/followers","following_url":"https://api.github.com/users/antokish/following{/other_user}","gists_url":"https://api.github.com/users/antokish/gists{/gist_id}","starred_url":"https://api.github.com/users/antokish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antokish/subscriptions","organizations_url":"https://api.github.com/users/antokish/orgs","repos_url":"https://api.github.com/users/antokish/repos","events_url":"https://api.github.com/users/antokish/events{/privacy}","received_events_url":"https://api.github.com/users/antokish/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":41,"deletions":15,"changed_files":12}}
{"actor":{"display_login":"antokish"}}