{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls/1","id":241515336,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNTE1MzM2","html_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1/pull/1","diff_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1/pull/1.diff","patch_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1/pull/1.patch","issue_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues/1","number":1,"state":"closed","locked":false,"title":"Ft user get all questions 162889751","user":{"login":"EUGINELETHAL","id":25798915,"node_id":"MDQ6VXNlcjI1Nzk4OTE1","avatar_url":"https://avatars0.githubusercontent.com/u/25798915?v=4","gravatar_id":"","url":"https://api.github.com/users/EUGINELETHAL","html_url":"https://github.com/EUGINELETHAL","followers_url":"https://api.github.com/users/EUGINELETHAL/followers","following_url":"https://api.github.com/users/EUGINELETHAL/following{/other_user}","gists_url":"https://api.github.com/users/EUGINELETHAL/gists{/gist_id}","starred_url":"https://api.github.com/users/EUGINELETHAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EUGINELETHAL/subscriptions","organizations_url":"https://api.github.com/users/EUGINELETHAL/orgs","repos_url":"https://api.github.com/users/EUGINELETHAL/repos","events_url":"https://api.github.com/users/EUGINELETHAL/events{/privacy}","received_events_url":"https://api.github.com/users/EUGINELETHAL/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\nThis Pull Request creates the endpoint for a user to fetch all questions\r\n\r\n**Description of Task to be completed?**\r\n• Create a working GET /questions endpoint that enables a user to fetch all questions\r\n\r\n**How should this be manually tested?**\r\n1.Clone this repository on your machine\r\n      git clone https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1.git\r\n\r\n2.CD into the project folder on your machine\r\n   cd STACKOVERFLOW-AP1\r\n\r\n3.Create a virtual environment\r\n     virtualenv venv\r\n\r\n4.Activate the virtual environment\r\n    source venv/bin/activate\r\n\r\n5.Install the dependencies from the requirements.txt file\r\n    pip install -r requirements.txt\r\n\r\n6.Checkout the current branch\r\n   git checkout  ft-user-get-all-questions-162889751\r\n\r\n7.Run the app\r\n  export FLASK_APP=\"run.py\"\r\n  export FLASK_ENV=\"development\"\r\n  flask run\r\nTest the endpoint using postman.\r\n\r\n**Relevant pivotal tracker stories**\r\n   162889751\r\n\r\n**Screenshots**\r\n![screenshot from 2018-12-31 02 55 58](https://user-images.githubusercontent.com/25798915/50552636-6df01380-0ca8-11e9-8b5b-1046cc67baf2.png)\r\n\r\n","created_at":"2018-12-31T00:02:10Z","updated_at":"2018-12-31T00:02:52Z","closed_at":"2018-12-31T00:02:52Z","merged_at":"2018-12-31T00:02:52Z","merge_commit_sha":"387c5be687131f274100a6b2c14d86d001da3595","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls/1/commits","review_comments_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls/1/comments","review_comment_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues/1/comments","statuses_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/statuses/b9c910fcc0b1d4803d443f7cee9251c0027938b6","head":{"label":"EUGINELETHAL:ft-user-get-all-questions-162889751","ref":"ft-user-get-all-questions-162889751","sha":"b9c910fcc0b1d4803d443f7cee9251c0027938b6","user":{"login":"EUGINELETHAL","id":25798915,"node_id":"MDQ6VXNlcjI1Nzk4OTE1","avatar_url":"https://avatars0.githubusercontent.com/u/25798915?v=4","gravatar_id":"","url":"https://api.github.com/users/EUGINELETHAL","html_url":"https://github.com/EUGINELETHAL","followers_url":"https://api.github.com/users/EUGINELETHAL/followers","following_url":"https://api.github.com/users/EUGINELETHAL/following{/other_user}","gists_url":"https://api.github.com/users/EUGINELETHAL/gists{/gist_id}","starred_url":"https://api.github.com/users/EUGINELETHAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EUGINELETHAL/subscriptions","organizations_url":"https://api.github.com/users/EUGINELETHAL/orgs","repos_url":"https://api.github.com/users/EUGINELETHAL/repos","events_url":"https://api.github.com/users/EUGINELETHAL/events{/privacy}","received_events_url":"https://api.github.com/users/EUGINELETHAL/received_events","type":"User","site_admin":false},"repo":{"id":162333475,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIzMzM0NzU=","name":"STACKOVERFLOW-AP1","full_name":"EUGINELETHAL/STACKOVERFLOW-AP1","private":false,"owner":{"login":"EUGINELETHAL","id":25798915,"node_id":"MDQ6VXNlcjI1Nzk4OTE1","avatar_url":"https://avatars0.githubusercontent.com/u/25798915?v=4","gravatar_id":"","url":"https://api.github.com/users/EUGINELETHAL","html_url":"https://github.com/EUGINELETHAL","followers_url":"https://api.github.com/users/EUGINELETHAL/followers","following_url":"https://api.github.com/users/EUGINELETHAL/following{/other_user}","gists_url":"https://api.github.com/users/EUGINELETHAL/gists{/gist_id}","starred_url":"https://api.github.com/users/EUGINELETHAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EUGINELETHAL/subscriptions","organizations_url":"https://api.github.com/users/EUGINELETHAL/orgs","repos_url":"https://api.github.com/users/EUGINELETHAL/repos","events_url":"https://api.github.com/users/EUGINELETHAL/events{/privacy}","received_events_url":"https://api.github.com/users/EUGINELETHAL/received_events","type":"User","site_admin":false},"html_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1","description":null,"fork":false,"url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1","forks_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/forks","keys_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/teams","hooks_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/hooks","issue_events_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues/events{/number}","events_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/events","assignees_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/assignees{/user}","branches_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/branches{/branch}","tags_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/tags","blobs_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/refs{/sha}","trees_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/statuses/{sha}","languages_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/languages","stargazers_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/stargazers","contributors_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/contributors","subscribers_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/subscribers","subscription_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/subscription","commits_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/commits{/sha}","git_commits_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/commits{/sha}","comments_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/comments{/number}","issue_comment_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues/comments{/number}","contents_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/contents/{+path}","compare_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/merges","archive_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/downloads","issues_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues{/number}","pulls_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls{/number}","milestones_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/milestones{/number}","notifications_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/labels{/name}","releases_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/releases{/id}","deployments_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/deployments","created_at":"2018-12-18T19:03:29Z","updated_at":"2018-12-18T19:03:32Z","pushed_at":"2018-12-31T00:02:52Z","git_url":"git://github.com/EUGINELETHAL/STACKOVERFLOW-AP1.git","ssh_url":"git@github.com:EUGINELETHAL/STACKOVERFLOW-AP1.git","clone_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1.git","svn_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EUGINELETHAL:develop","ref":"develop","sha":"dca7a5b9226df4973b2c703366da70e17c08dfde","user":{"login":"EUGINELETHAL","id":25798915,"node_id":"MDQ6VXNlcjI1Nzk4OTE1","avatar_url":"https://avatars0.githubusercontent.com/u/25798915?v=4","gravatar_id":"","url":"https://api.github.com/users/EUGINELETHAL","html_url":"https://github.com/EUGINELETHAL","followers_url":"https://api.github.com/users/EUGINELETHAL/followers","following_url":"https://api.github.com/users/EUGINELETHAL/following{/other_user}","gists_url":"https://api.github.com/users/EUGINELETHAL/gists{/gist_id}","starred_url":"https://api.github.com/users/EUGINELETHAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EUGINELETHAL/subscriptions","organizations_url":"https://api.github.com/users/EUGINELETHAL/orgs","repos_url":"https://api.github.com/users/EUGINELETHAL/repos","events_url":"https://api.github.com/users/EUGINELETHAL/events{/privacy}","received_events_url":"https://api.github.com/users/EUGINELETHAL/received_events","type":"User","site_admin":false},"repo":{"id":162333475,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIzMzM0NzU=","name":"STACKOVERFLOW-AP1","full_name":"EUGINELETHAL/STACKOVERFLOW-AP1","private":false,"owner":{"login":"EUGINELETHAL","id":25798915,"node_id":"MDQ6VXNlcjI1Nzk4OTE1","avatar_url":"https://avatars0.githubusercontent.com/u/25798915?v=4","gravatar_id":"","url":"https://api.github.com/users/EUGINELETHAL","html_url":"https://github.com/EUGINELETHAL","followers_url":"https://api.github.com/users/EUGINELETHAL/followers","following_url":"https://api.github.com/users/EUGINELETHAL/following{/other_user}","gists_url":"https://api.github.com/users/EUGINELETHAL/gists{/gist_id}","starred_url":"https://api.github.com/users/EUGINELETHAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EUGINELETHAL/subscriptions","organizations_url":"https://api.github.com/users/EUGINELETHAL/orgs","repos_url":"https://api.github.com/users/EUGINELETHAL/repos","events_url":"https://api.github.com/users/EUGINELETHAL/events{/privacy}","received_events_url":"https://api.github.com/users/EUGINELETHAL/received_events","type":"User","site_admin":false},"html_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1","description":null,"fork":false,"url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1","forks_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/forks","keys_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/teams","hooks_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/hooks","issue_events_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues/events{/number}","events_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/events","assignees_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/assignees{/user}","branches_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/branches{/branch}","tags_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/tags","blobs_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/refs{/sha}","trees_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/statuses/{sha}","languages_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/languages","stargazers_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/stargazers","contributors_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/contributors","subscribers_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/subscribers","subscription_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/subscription","commits_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/commits{/sha}","git_commits_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/git/commits{/sha}","comments_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/comments{/number}","issue_comment_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues/comments{/number}","contents_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/contents/{+path}","compare_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/merges","archive_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/downloads","issues_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues{/number}","pulls_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls{/number}","milestones_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/milestones{/number}","notifications_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/labels{/name}","releases_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/releases{/id}","deployments_url":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/deployments","created_at":"2018-12-18T19:03:29Z","updated_at":"2018-12-18T19:03:32Z","pushed_at":"2018-12-31T00:02:52Z","git_url":"git://github.com/EUGINELETHAL/STACKOVERFLOW-AP1.git","ssh_url":"git@github.com:EUGINELETHAL/STACKOVERFLOW-AP1.git","clone_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1.git","svn_url":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls/1"},"html":{"href":"https://github.com/EUGINELETHAL/STACKOVERFLOW-AP1/pull/1"},"issue":{"href":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues/1"},"comments":{"href":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/EUGINELETHAL/STACKOVERFLOW-AP1/statuses/b9c910fcc0b1d4803d443f7cee9251c0027938b6"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"EUGINELETHAL","id":25798915,"node_id":"MDQ6VXNlcjI1Nzk4OTE1","avatar_url":"https://avatars0.githubusercontent.com/u/25798915?v=4","gravatar_id":"","url":"https://api.github.com/users/EUGINELETHAL","html_url":"https://github.com/EUGINELETHAL","followers_url":"https://api.github.com/users/EUGINELETHAL/followers","following_url":"https://api.github.com/users/EUGINELETHAL/following{/other_user}","gists_url":"https://api.github.com/users/EUGINELETHAL/gists{/gist_id}","starred_url":"https://api.github.com/users/EUGINELETHAL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EUGINELETHAL/subscriptions","organizations_url":"https://api.github.com/users/EUGINELETHAL/orgs","repos_url":"https://api.github.com/users/EUGINELETHAL/repos","events_url":"https://api.github.com/users/EUGINELETHAL/events{/privacy}","received_events_url":"https://api.github.com/users/EUGINELETHAL/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":48,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"EUGINELETHAL"}}