{"action":"created","issue":{"url":"https://api.github.com/repos/Bluey95/Stackoverflow-Lite/issues/7","repository_url":"https://api.github.com/repos/Bluey95/Stackoverflow-Lite","labels_url":"https://api.github.com/repos/Bluey95/Stackoverflow-Lite/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Bluey95/Stackoverflow-Lite/issues/7/comments","events_url":"https://api.github.com/repos/Bluey95/Stackoverflow-Lite/issues/7/events","html_url":"https://github.com/Bluey95/Stackoverflow-Lite/pull/7","id":351856659,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MzMzMDI1","number":7,"title":"GET specific question 159745182","user":{"login":"Bluey95","id":25789307,"node_id":"MDQ6VXNlcjI1Nzg5MzA3","avatar_url":"https://avatars2.githubusercontent.com/u/25789307?v=4","gravatar_id":"","url":"https://api.github.com/users/Bluey95","html_url":"https://github.com/Bluey95","followers_url":"https://api.github.com/users/Bluey95/followers","following_url":"https://api.github.com/users/Bluey95/following{/other_user}","gists_url":"https://api.github.com/users/Bluey95/gists{/gist_id}","starred_url":"https://api.github.com/users/Bluey95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bluey95/subscriptions","organizations_url":"https://api.github.com/users/Bluey95/orgs","repos_url":"https://api.github.com/users/Bluey95/repos","events_url":"https://api.github.com/users/Bluey95/events{/privacy}","received_events_url":"https://api.github.com/users/Bluey95/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-18T22:20:46Z","updated_at":"2018-08-19T11:31:11Z","closed_at":"2018-08-18T22:45:46Z","author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/Bluey95/Stackoverflow-Lite/pulls/7","html_url":"https://github.com/Bluey95/Stackoverflow-Lite/pull/7","diff_url":"https://github.com/Bluey95/Stackoverflow-Lite/pull/7.diff","patch_url":"https://github.com/Bluey95/Stackoverflow-Lite/pull/7.patch"},"body":"**What does this PR do?**\r\n\r\nImplements an API to get a specific question and a test to verify that the question has been retrieved.\r\n\r\n**Background Information**\r\n\r\nA user can get a specific question which contains a title and a body. \r\n\r\n**Description of task to be completed**\r\n\r\n| TEST  | API-endpoint | HTTP-verb |\r\n| ------------- | ------------- | ------------- | \r\n| User can get a specific question  | /api/v1/questions/<int:id>  | GET |\r\n\r\n**How to manually test?**\r\n\r\n1. Clone or download the project\r\n          [Stackoverflow-Lite](https://github.com/Bluey95/Stackoverflow-Lite.git)\r\n2. Navigate to the project directory and change branch to `develop.`\r\n          `develop`\r\n3. Create a `virtual environment' and activate it.\r\n           'virtualenv venv\r\n            source venv/bin/activate\r\n            pip install -r requirements.txt'\r\n4. Pass environment configuration variable\r\n           `export FLASK_CONFIG=development`\r\n5. Start the server\r\n             `flask run`\r\n6. Use postman to test endpoints \r\n\r\n7. Run 'pytest' on terminal to run tests.\r\n    \r\n**Any background context you want to provide**\r\n     Made use of data structures appended on a list\r\n\r\n**What is the relevant pivotal tracker stories?**\r\n     [#159745182](https://www.pivotaltracker.com/story/show/159745182)\r\n\r\n**Screenshot**\r\n![get specific question](https://user-images.githubusercontent.com/25789307/44303624-1632ba80-a34e-11e8-937e-f8595f9f462c.png)\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Bluey95/Stackoverflow-Lite/issues/comments/414121335","html_url":"https://github.com/Bluey95/Stackoverflow-Lite/pull/7#issuecomment-414121335","issue_url":"https://api.github.com/repos/Bluey95/Stackoverflow-Lite/issues/7","id":414121335,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDEyMTMzNQ==","user":{"login":"evamaina","id":25586421,"node_id":"MDQ6VXNlcjI1NTg2NDIx","avatar_url":"https://avatars2.githubusercontent.com/u/25586421?v=4","gravatar_id":"","url":"https://api.github.com/users/evamaina","html_url":"https://github.com/evamaina","followers_url":"https://api.github.com/users/evamaina/followers","following_url":"https://api.github.com/users/evamaina/following{/other_user}","gists_url":"https://api.github.com/users/evamaina/gists{/gist_id}","starred_url":"https://api.github.com/users/evamaina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evamaina/subscriptions","organizations_url":"https://api.github.com/users/evamaina/orgs","repos_url":"https://api.github.com/users/evamaina/repos","events_url":"https://api.github.com/users/evamaina/events{/privacy}","received_events_url":"https://api.github.com/users/evamaina/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T11:31:11Z","updated_at":"2018-08-19T11:31:11Z","author_association":"NONE","body":"Nice work . create a .gitignore file and put all python executable files  and venv. eg venv/\r\n.env\r\n*.pytest_cache/\r\n*.pyc\r\n*_pycache_/\r\n\r\n"}}
{"actor":{"display_login":"evamaina"}}