{"action":"reopened","number":6,"pull_request":{"url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls/6","id":208222207,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MjIyMjA3","html_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi/pull/6","diff_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi/pull/6.diff","patch_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi/pull/6.patch","issue_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues/6","number":6,"state":"open","locked":false,"title":"159740034 create downvote and upvote answer","user":{"login":"TheSteelGuy","id":30718807,"node_id":"MDQ6VXNlcjMwNzE4ODA3","avatar_url":"https://avatars0.githubusercontent.com/u/30718807?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSteelGuy","html_url":"https://github.com/TheSteelGuy","followers_url":"https://api.github.com/users/TheSteelGuy/followers","following_url":"https://api.github.com/users/TheSteelGuy/following{/other_user}","gists_url":"https://api.github.com/users/TheSteelGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSteelGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSteelGuy/subscriptions","organizations_url":"https://api.github.com/users/TheSteelGuy/orgs","repos_url":"https://api.github.com/users/TheSteelGuy/repos","events_url":"https://api.github.com/users/TheSteelGuy/events{/privacy}","received_events_url":"https://api.github.com/users/TheSteelGuy/received_events","type":"User","site_admin":false},"body":"**Introduction**\r\nThis PR create accept answer functionality\r\n\r\n**Description of Task to be completed:**\r\nOn sending GET request to the endpoint appropriate response should be received\r\n\r\n**How to manually test**\r\n- $ pip install virtualenv \r\n- NB This install virtualenv Globally(virtual environment allows you to create independent envs isolated from  your actual physical machine)\r\n- $ virtualenv -p python3 myenv \r\n- $ source myenv/bin/activate\r\n- Clone this repository: _$ git clone https://github.com/TheSteelGuy/StackOverFlowLiteApi.git_\r\n- navigate into the repository after cloning\r\n- $ git checkout 159740034-create-downvote-and-upvote-answer to switch from master to this branch\r\n- $ pip install -r requirements.txt\r\n-  Launch postman\r\n\r\n* #### Upvote/ downvote question.   \r\n    `GET /api/v1/questions/<questionId>/answers/<answerId>/vote` \r\n    ```\r\n    headers = {content_type:application/json} \r\n    ```\r\n\r\n**Any background information**\r\n\r\n-  Successfull request returns JSON formatted response appropriately\r\n\r\n**Relevant story**\r\n[Click here](https://www.pivotaltracker.com/n/projects/2189398/stories/159740034)\r\n\r\n\r\n\r\n","created_at":"2018-08-14T09:35:34Z","updated_at":"2018-08-21T12:06:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baf07073d7b35db4c463629018a40f17de96e6d3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls/6/commits","review_comments_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls/6/comments","review_comment_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues/6/comments","statuses_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/statuses/401b8df79c48c0d0e5163160a160e3abce666617","head":{"label":"TheSteelGuy:159740034-create-downvote-and-upvote-answer","ref":"159740034-create-downvote-and-upvote-answer","sha":"401b8df79c48c0d0e5163160a160e3abce666617","user":{"login":"TheSteelGuy","id":30718807,"node_id":"MDQ6VXNlcjMwNzE4ODA3","avatar_url":"https://avatars0.githubusercontent.com/u/30718807?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSteelGuy","html_url":"https://github.com/TheSteelGuy","followers_url":"https://api.github.com/users/TheSteelGuy/followers","following_url":"https://api.github.com/users/TheSteelGuy/following{/other_user}","gists_url":"https://api.github.com/users/TheSteelGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSteelGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSteelGuy/subscriptions","organizations_url":"https://api.github.com/users/TheSteelGuy/orgs","repos_url":"https://api.github.com/users/TheSteelGuy/repos","events_url":"https://api.github.com/users/TheSteelGuy/events{/privacy}","received_events_url":"https://api.github.com/users/TheSteelGuy/received_events","type":"User","site_admin":false},"repo":{"id":144381883,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQzODE4ODM=","name":"StackOverFlowLiteApi","full_name":"TheSteelGuy/StackOverFlowLiteApi","owner":{"login":"TheSteelGuy","id":30718807,"node_id":"MDQ6VXNlcjMwNzE4ODA3","avatar_url":"https://avatars0.githubusercontent.com/u/30718807?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSteelGuy","html_url":"https://github.com/TheSteelGuy","followers_url":"https://api.github.com/users/TheSteelGuy/followers","following_url":"https://api.github.com/users/TheSteelGuy/following{/other_user}","gists_url":"https://api.github.com/users/TheSteelGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSteelGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSteelGuy/subscriptions","organizations_url":"https://api.github.com/users/TheSteelGuy/orgs","repos_url":"https://api.github.com/users/TheSteelGuy/repos","events_url":"https://api.github.com/users/TheSteelGuy/events{/privacy}","received_events_url":"https://api.github.com/users/TheSteelGuy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi","description":null,"fork":false,"url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi","forks_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/forks","keys_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/teams","hooks_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/hooks","issue_events_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues/events{/number}","events_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/events","assignees_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/assignees{/user}","branches_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/branches{/branch}","tags_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/tags","blobs_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/statuses/{sha}","languages_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/languages","stargazers_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/stargazers","contributors_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/contributors","subscribers_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/subscribers","subscription_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/subscription","commits_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/contents/{+path}","compare_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/merges","archive_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/downloads","issues_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues{/number}","pulls_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls{/number}","milestones_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/milestones{/number}","notifications_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/labels{/name}","releases_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/releases{/id}","deployments_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/deployments","created_at":"2018-08-11T12:03:01Z","updated_at":"2018-08-11T12:03:04Z","pushed_at":"2018-08-21T12:05:41Z","git_url":"git://github.com/TheSteelGuy/StackOverFlowLiteApi.git","ssh_url":"git@github.com:TheSteelGuy/StackOverFlowLiteApi.git","clone_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi.git","svn_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi","homepage":null,"size":60,"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":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"TheSteelGuy:159726336-ch2-create-accept-answer-functionality","ref":"159726336-ch2-create-accept-answer-functionality","sha":"e1e19a5db2477882f8ab1b18a5bb0d537cf41320","user":{"login":"TheSteelGuy","id":30718807,"node_id":"MDQ6VXNlcjMwNzE4ODA3","avatar_url":"https://avatars0.githubusercontent.com/u/30718807?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSteelGuy","html_url":"https://github.com/TheSteelGuy","followers_url":"https://api.github.com/users/TheSteelGuy/followers","following_url":"https://api.github.com/users/TheSteelGuy/following{/other_user}","gists_url":"https://api.github.com/users/TheSteelGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSteelGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSteelGuy/subscriptions","organizations_url":"https://api.github.com/users/TheSteelGuy/orgs","repos_url":"https://api.github.com/users/TheSteelGuy/repos","events_url":"https://api.github.com/users/TheSteelGuy/events{/privacy}","received_events_url":"https://api.github.com/users/TheSteelGuy/received_events","type":"User","site_admin":false},"repo":{"id":144381883,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQzODE4ODM=","name":"StackOverFlowLiteApi","full_name":"TheSteelGuy/StackOverFlowLiteApi","owner":{"login":"TheSteelGuy","id":30718807,"node_id":"MDQ6VXNlcjMwNzE4ODA3","avatar_url":"https://avatars0.githubusercontent.com/u/30718807?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSteelGuy","html_url":"https://github.com/TheSteelGuy","followers_url":"https://api.github.com/users/TheSteelGuy/followers","following_url":"https://api.github.com/users/TheSteelGuy/following{/other_user}","gists_url":"https://api.github.com/users/TheSteelGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSteelGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSteelGuy/subscriptions","organizations_url":"https://api.github.com/users/TheSteelGuy/orgs","repos_url":"https://api.github.com/users/TheSteelGuy/repos","events_url":"https://api.github.com/users/TheSteelGuy/events{/privacy}","received_events_url":"https://api.github.com/users/TheSteelGuy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi","description":null,"fork":false,"url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi","forks_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/forks","keys_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/teams","hooks_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/hooks","issue_events_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues/events{/number}","events_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/events","assignees_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/assignees{/user}","branches_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/branches{/branch}","tags_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/tags","blobs_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/statuses/{sha}","languages_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/languages","stargazers_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/stargazers","contributors_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/contributors","subscribers_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/subscribers","subscription_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/subscription","commits_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/contents/{+path}","compare_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/merges","archive_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/downloads","issues_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues{/number}","pulls_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls{/number}","milestones_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/milestones{/number}","notifications_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/labels{/name}","releases_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/releases{/id}","deployments_url":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/deployments","created_at":"2018-08-11T12:03:01Z","updated_at":"2018-08-11T12:03:04Z","pushed_at":"2018-08-21T12:05:41Z","git_url":"git://github.com/TheSteelGuy/StackOverFlowLiteApi.git","ssh_url":"git@github.com:TheSteelGuy/StackOverFlowLiteApi.git","clone_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi.git","svn_url":"https://github.com/TheSteelGuy/StackOverFlowLiteApi","homepage":null,"size":60,"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":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls/6"},"html":{"href":"https://github.com/TheSteelGuy/StackOverFlowLiteApi/pull/6"},"issue":{"href":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues/6"},"comments":{"href":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/TheSteelGuy/StackOverFlowLiteApi/statuses/401b8df79c48c0d0e5163160a160e3abce666617"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":1,"maintainer_can_modify":false,"commits":17,"additions":362,"deletions":70,"changed_files":26}}
{"actor":{"display_login":"TheSteelGuy"}}