{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls/37","id":207903168,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3OTAzMTY4","html_url":"https://github.com/asheuh/StackOverflow-lite/pull/37","diff_url":"https://github.com/asheuh/StackOverflow-lite/pull/37.diff","patch_url":"https://github.com/asheuh/StackOverflow-lite/pull/37.patch","issue_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues/37","number":37,"state":"closed","locked":false,"title":"#159725145 add upvoting and answer functionality","user":{"login":"asheuh","id":22955146,"node_id":"MDQ6VXNlcjIyOTU1MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/22955146?v=4","gravatar_id":"","url":"https://api.github.com/users/asheuh","html_url":"https://github.com/asheuh","followers_url":"https://api.github.com/users/asheuh/followers","following_url":"https://api.github.com/users/asheuh/following{/other_user}","gists_url":"https://api.github.com/users/asheuh/gists{/gist_id}","starred_url":"https://api.github.com/users/asheuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asheuh/subscriptions","organizations_url":"https://api.github.com/users/asheuh/orgs","repos_url":"https://api.github.com/users/asheuh/repos","events_url":"https://api.github.com/users/asheuh/events{/privacy}","received_events_url":"https://api.github.com/users/asheuh/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n\r\nThis PR creates the functionality for users to upvote an answer\r\n\r\n#### How should this be manually tested?\r\n- Clone the repo\r\n```\r\n$ git clone https://github.com/asheuh/StackOverflow-lite\r\n$ cd StackOverflow-lite\r\n```\r\n- Create virtualenv\r\n```\r\n$ python -m venv venv\r\n```\r\n- Run app\r\n```\r\n$ flask run\r\n```\r\n- Then go to 127.0.0.1:5000/api/v1\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[159725145](https://www.pivotaltracker.com/n/projects/2189345/stories/159725145)","created_at":"2018-08-13T08:26:35Z","updated_at":"2018-08-13T08:26:49Z","closed_at":"2018-08-13T08:26:48Z","merged_at":"2018-08-13T08:26:48Z","merge_commit_sha":"6039c6e5053a9a114e1be8b475aeda63924972c3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls/37/commits","review_comments_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls/37/comments","review_comment_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues/37/comments","statuses_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/statuses/b396e742626a56c3d5a86807fb603080cfe62d1b","head":{"label":"asheuh:ft-upvote-answer-159725145","ref":"ft-upvote-answer-159725145","sha":"b396e742626a56c3d5a86807fb603080cfe62d1b","user":{"login":"asheuh","id":22955146,"node_id":"MDQ6VXNlcjIyOTU1MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/22955146?v=4","gravatar_id":"","url":"https://api.github.com/users/asheuh","html_url":"https://github.com/asheuh","followers_url":"https://api.github.com/users/asheuh/followers","following_url":"https://api.github.com/users/asheuh/following{/other_user}","gists_url":"https://api.github.com/users/asheuh/gists{/gist_id}","starred_url":"https://api.github.com/users/asheuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asheuh/subscriptions","organizations_url":"https://api.github.com/users/asheuh/orgs","repos_url":"https://api.github.com/users/asheuh/repos","events_url":"https://api.github.com/users/asheuh/events{/privacy}","received_events_url":"https://api.github.com/users/asheuh/received_events","type":"User","site_admin":false},"repo":{"id":143836482,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM4MzY0ODI=","name":"StackOverflow-lite","full_name":"asheuh/StackOverflow-lite","owner":{"login":"asheuh","id":22955146,"node_id":"MDQ6VXNlcjIyOTU1MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/22955146?v=4","gravatar_id":"","url":"https://api.github.com/users/asheuh","html_url":"https://github.com/asheuh","followers_url":"https://api.github.com/users/asheuh/followers","following_url":"https://api.github.com/users/asheuh/following{/other_user}","gists_url":"https://api.github.com/users/asheuh/gists{/gist_id}","starred_url":"https://api.github.com/users/asheuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asheuh/subscriptions","organizations_url":"https://api.github.com/users/asheuh/orgs","repos_url":"https://api.github.com/users/asheuh/repos","events_url":"https://api.github.com/users/asheuh/events{/privacy}","received_events_url":"https://api.github.com/users/asheuh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asheuh/StackOverflow-lite","description":"StackOverflow-lite is a platform where people can ask questions and provide answers. ","fork":false,"url":"https://api.github.com/repos/asheuh/StackOverflow-lite","forks_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/forks","keys_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/teams","hooks_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/hooks","issue_events_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues/events{/number}","events_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/events","assignees_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/assignees{/user}","branches_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/branches{/branch}","tags_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/tags","blobs_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/languages","stargazers_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/stargazers","contributors_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/contributors","subscribers_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/subscribers","subscription_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/subscription","commits_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/contents/{+path}","compare_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/merges","archive_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/downloads","issues_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues{/number}","pulls_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/labels{/name}","releases_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/releases{/id}","deployments_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/deployments","created_at":"2018-08-07T07:29:38Z","updated_at":"2018-08-13T07:13:07Z","pushed_at":"2018-08-13T08:26:48Z","git_url":"git://github.com/asheuh/StackOverflow-lite.git","ssh_url":"git@github.com:asheuh/StackOverflow-lite.git","clone_url":"https://github.com/asheuh/StackOverflow-lite.git","svn_url":"https://github.com/asheuh/StackOverflow-lite","homepage":null,"size":149,"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":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":"develop"}},"base":{"label":"asheuh:develop","ref":"develop","sha":"a7f3f3e30047c72bced4a1033cc506bd350c8160","user":{"login":"asheuh","id":22955146,"node_id":"MDQ6VXNlcjIyOTU1MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/22955146?v=4","gravatar_id":"","url":"https://api.github.com/users/asheuh","html_url":"https://github.com/asheuh","followers_url":"https://api.github.com/users/asheuh/followers","following_url":"https://api.github.com/users/asheuh/following{/other_user}","gists_url":"https://api.github.com/users/asheuh/gists{/gist_id}","starred_url":"https://api.github.com/users/asheuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asheuh/subscriptions","organizations_url":"https://api.github.com/users/asheuh/orgs","repos_url":"https://api.github.com/users/asheuh/repos","events_url":"https://api.github.com/users/asheuh/events{/privacy}","received_events_url":"https://api.github.com/users/asheuh/received_events","type":"User","site_admin":false},"repo":{"id":143836482,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM4MzY0ODI=","name":"StackOverflow-lite","full_name":"asheuh/StackOverflow-lite","owner":{"login":"asheuh","id":22955146,"node_id":"MDQ6VXNlcjIyOTU1MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/22955146?v=4","gravatar_id":"","url":"https://api.github.com/users/asheuh","html_url":"https://github.com/asheuh","followers_url":"https://api.github.com/users/asheuh/followers","following_url":"https://api.github.com/users/asheuh/following{/other_user}","gists_url":"https://api.github.com/users/asheuh/gists{/gist_id}","starred_url":"https://api.github.com/users/asheuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asheuh/subscriptions","organizations_url":"https://api.github.com/users/asheuh/orgs","repos_url":"https://api.github.com/users/asheuh/repos","events_url":"https://api.github.com/users/asheuh/events{/privacy}","received_events_url":"https://api.github.com/users/asheuh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asheuh/StackOverflow-lite","description":"StackOverflow-lite is a platform where people can ask questions and provide answers. ","fork":false,"url":"https://api.github.com/repos/asheuh/StackOverflow-lite","forks_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/forks","keys_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/teams","hooks_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/hooks","issue_events_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues/events{/number}","events_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/events","assignees_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/assignees{/user}","branches_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/branches{/branch}","tags_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/tags","blobs_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/languages","stargazers_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/stargazers","contributors_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/contributors","subscribers_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/subscribers","subscription_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/subscription","commits_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/contents/{+path}","compare_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/merges","archive_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/downloads","issues_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues{/number}","pulls_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/labels{/name}","releases_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/releases{/id}","deployments_url":"https://api.github.com/repos/asheuh/StackOverflow-lite/deployments","created_at":"2018-08-07T07:29:38Z","updated_at":"2018-08-13T07:13:07Z","pushed_at":"2018-08-13T08:26:48Z","git_url":"git://github.com/asheuh/StackOverflow-lite.git","ssh_url":"git@github.com:asheuh/StackOverflow-lite.git","clone_url":"https://github.com/asheuh/StackOverflow-lite.git","svn_url":"https://github.com/asheuh/StackOverflow-lite","homepage":null,"size":149,"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":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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls/37"},"html":{"href":"https://github.com/asheuh/StackOverflow-lite/pull/37"},"issue":{"href":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues/37"},"comments":{"href":"https://api.github.com/repos/asheuh/StackOverflow-lite/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asheuh/StackOverflow-lite/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/asheuh/StackOverflow-lite/statuses/b396e742626a56c3d5a86807fb603080cfe62d1b"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"asheuh","id":22955146,"node_id":"MDQ6VXNlcjIyOTU1MTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/22955146?v=4","gravatar_id":"","url":"https://api.github.com/users/asheuh","html_url":"https://github.com/asheuh","followers_url":"https://api.github.com/users/asheuh/followers","following_url":"https://api.github.com/users/asheuh/following{/other_user}","gists_url":"https://api.github.com/users/asheuh/gists{/gist_id}","starred_url":"https://api.github.com/users/asheuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asheuh/subscriptions","organizations_url":"https://api.github.com/users/asheuh/orgs","repos_url":"https://api.github.com/users/asheuh/repos","events_url":"https://api.github.com/users/asheuh/events{/privacy}","received_events_url":"https://api.github.com/users/asheuh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":35,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"asheuh"}}