{"action":"reopened","number":21,"pull_request":{"url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls/21","id":234423446,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NDIzNDQ2","html_url":"https://github.com/bl4ck4ndbr0wn/iReporter/pull/21","diff_url":"https://github.com/bl4ck4ndbr0wn/iReporter/pull/21.diff","patch_url":"https://github.com/bl4ck4ndbr0wn/iReporter/pull/21.patch","issue_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues/21","number":21,"state":"open","locked":false,"title":"#162218547 login api","user":{"login":"bl4ck4ndbr0wn","id":33542127,"node_id":"MDQ6VXNlcjMzNTQyMTI3","avatar_url":"https://avatars3.githubusercontent.com/u/33542127?v=4","gravatar_id":"","url":"https://api.github.com/users/bl4ck4ndbr0wn","html_url":"https://github.com/bl4ck4ndbr0wn","followers_url":"https://api.github.com/users/bl4ck4ndbr0wn/followers","following_url":"https://api.github.com/users/bl4ck4ndbr0wn/following{/other_user}","gists_url":"https://api.github.com/users/bl4ck4ndbr0wn/gists{/gist_id}","starred_url":"https://api.github.com/users/bl4ck4ndbr0wn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bl4ck4ndbr0wn/subscriptions","organizations_url":"https://api.github.com/users/bl4ck4ndbr0wn/orgs","repos_url":"https://api.github.com/users/bl4ck4ndbr0wn/repos","events_url":"https://api.github.com/users/bl4ck4ndbr0wn/events{/privacy}","received_events_url":"https://api.github.com/users/bl4ck4ndbr0wn/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nHave CRUD in signin resource endpoint to log in already existing user.\r\n#### Description of Task to be completed?\r\nTest api endpint to confirm that the login is working.\r\n create api endpoint.\r\n* POST  /api/v1/auth/login a user\r\n* :params\r\n        { “username” : String,\r\n           “password” : String,\r\n         }\r\n#### How should this be manually tested?\r\nClone the repo as bellow:\r\n ```\r\n git clone - b ft-login-api-162218547 git@github.com: bl4ck4ndbr0wn/iReporter.git\r\n```\r\nCreate a virtualenvironment and activate it\r\n ```\r\n python3 - m venv env\r\n source .env\r\n ```\r\n Install all the dependencies needed by\r\n ```\r\n pip install - r requirements.txt\r\n ```\r\n Run the flask application\r\n ```\r\n  flask run\r\n ```\r\n#### Any background context you want to provide?\r\n#### What are the relevant pivotal tracker stories?\r\n [  # 162218547](https://www.pivotaltracker.com/n/projects/2226962)\r\n#### Screenshots (if appropriate)\r\n#### Questions:","created_at":"2018-11-28T21:04:32Z","updated_at":"2018-11-29T12:54:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34db0a30d54b87deb5df0dd75e14b60dbd411cde","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls/21/commits","review_comments_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls/21/comments","review_comment_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues/21/comments","statuses_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/statuses/582ceeaf7a266a94a894529c9fd68a6b878a66b4","head":{"label":"bl4ck4ndbr0wn:ft-login-api-162218547","ref":"ft-login-api-162218547","sha":"582ceeaf7a266a94a894529c9fd68a6b878a66b4","user":{"login":"bl4ck4ndbr0wn","id":33542127,"node_id":"MDQ6VXNlcjMzNTQyMTI3","avatar_url":"https://avatars3.githubusercontent.com/u/33542127?v=4","gravatar_id":"","url":"https://api.github.com/users/bl4ck4ndbr0wn","html_url":"https://github.com/bl4ck4ndbr0wn","followers_url":"https://api.github.com/users/bl4ck4ndbr0wn/followers","following_url":"https://api.github.com/users/bl4ck4ndbr0wn/following{/other_user}","gists_url":"https://api.github.com/users/bl4ck4ndbr0wn/gists{/gist_id}","starred_url":"https://api.github.com/users/bl4ck4ndbr0wn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bl4ck4ndbr0wn/subscriptions","organizations_url":"https://api.github.com/users/bl4ck4ndbr0wn/orgs","repos_url":"https://api.github.com/users/bl4ck4ndbr0wn/repos","events_url":"https://api.github.com/users/bl4ck4ndbr0wn/events{/privacy}","received_events_url":"https://api.github.com/users/bl4ck4ndbr0wn/received_events","type":"User","site_admin":false},"repo":{"id":158377510,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzNzc1MTA=","name":"iReporter","full_name":"bl4ck4ndbr0wn/iReporter","private":false,"owner":{"login":"bl4ck4ndbr0wn","id":33542127,"node_id":"MDQ6VXNlcjMzNTQyMTI3","avatar_url":"https://avatars3.githubusercontent.com/u/33542127?v=4","gravatar_id":"","url":"https://api.github.com/users/bl4ck4ndbr0wn","html_url":"https://github.com/bl4ck4ndbr0wn","followers_url":"https://api.github.com/users/bl4ck4ndbr0wn/followers","following_url":"https://api.github.com/users/bl4ck4ndbr0wn/following{/other_user}","gists_url":"https://api.github.com/users/bl4ck4ndbr0wn/gists{/gist_id}","starred_url":"https://api.github.com/users/bl4ck4ndbr0wn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bl4ck4ndbr0wn/subscriptions","organizations_url":"https://api.github.com/users/bl4ck4ndbr0wn/orgs","repos_url":"https://api.github.com/users/bl4ck4ndbr0wn/repos","events_url":"https://api.github.com/users/bl4ck4ndbr0wn/events{/privacy}","received_events_url":"https://api.github.com/users/bl4ck4ndbr0wn/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bl4ck4ndbr0wn/iReporter","description":" iReporter enables any/every citizen to bring any form of corruption to the notice of appropriate authorities and the general public. Users can also report on things that needs government intervention.","fork":false,"url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter","forks_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/forks","keys_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/teams","hooks_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/hooks","issue_events_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues/events{/number}","events_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/events","assignees_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/assignees{/user}","branches_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/branches{/branch}","tags_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/tags","blobs_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/statuses/{sha}","languages_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/languages","stargazers_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/stargazers","contributors_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/contributors","subscribers_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/subscribers","subscription_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/subscription","commits_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/contents/{+path}","compare_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/merges","archive_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/downloads","issues_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues{/number}","pulls_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls{/number}","milestones_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/milestones{/number}","notifications_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/labels{/name}","releases_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/releases{/id}","deployments_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/deployments","created_at":"2018-11-20T11:17:06Z","updated_at":"2018-11-29T12:53:19Z","pushed_at":"2018-11-29T12:53:17Z","git_url":"git://github.com/bl4ck4ndbr0wn/iReporter.git","ssh_url":"git@github.com:bl4ck4ndbr0wn/iReporter.git","clone_url":"https://github.com/bl4ck4ndbr0wn/iReporter.git","svn_url":"https://github.com/bl4ck4ndbr0wn/iReporter","homepage":null,"size":209,"stargazers_count":0,"watchers_count":0,"language":"Python","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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"bl4ck4ndbr0wn:develop","ref":"develop","sha":"5598f74068650a4371043121faf6219291e1f333","user":{"login":"bl4ck4ndbr0wn","id":33542127,"node_id":"MDQ6VXNlcjMzNTQyMTI3","avatar_url":"https://avatars3.githubusercontent.com/u/33542127?v=4","gravatar_id":"","url":"https://api.github.com/users/bl4ck4ndbr0wn","html_url":"https://github.com/bl4ck4ndbr0wn","followers_url":"https://api.github.com/users/bl4ck4ndbr0wn/followers","following_url":"https://api.github.com/users/bl4ck4ndbr0wn/following{/other_user}","gists_url":"https://api.github.com/users/bl4ck4ndbr0wn/gists{/gist_id}","starred_url":"https://api.github.com/users/bl4ck4ndbr0wn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bl4ck4ndbr0wn/subscriptions","organizations_url":"https://api.github.com/users/bl4ck4ndbr0wn/orgs","repos_url":"https://api.github.com/users/bl4ck4ndbr0wn/repos","events_url":"https://api.github.com/users/bl4ck4ndbr0wn/events{/privacy}","received_events_url":"https://api.github.com/users/bl4ck4ndbr0wn/received_events","type":"User","site_admin":false},"repo":{"id":158377510,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzNzc1MTA=","name":"iReporter","full_name":"bl4ck4ndbr0wn/iReporter","private":false,"owner":{"login":"bl4ck4ndbr0wn","id":33542127,"node_id":"MDQ6VXNlcjMzNTQyMTI3","avatar_url":"https://avatars3.githubusercontent.com/u/33542127?v=4","gravatar_id":"","url":"https://api.github.com/users/bl4ck4ndbr0wn","html_url":"https://github.com/bl4ck4ndbr0wn","followers_url":"https://api.github.com/users/bl4ck4ndbr0wn/followers","following_url":"https://api.github.com/users/bl4ck4ndbr0wn/following{/other_user}","gists_url":"https://api.github.com/users/bl4ck4ndbr0wn/gists{/gist_id}","starred_url":"https://api.github.com/users/bl4ck4ndbr0wn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bl4ck4ndbr0wn/subscriptions","organizations_url":"https://api.github.com/users/bl4ck4ndbr0wn/orgs","repos_url":"https://api.github.com/users/bl4ck4ndbr0wn/repos","events_url":"https://api.github.com/users/bl4ck4ndbr0wn/events{/privacy}","received_events_url":"https://api.github.com/users/bl4ck4ndbr0wn/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bl4ck4ndbr0wn/iReporter","description":" iReporter enables any/every citizen to bring any form of corruption to the notice of appropriate authorities and the general public. Users can also report on things that needs government intervention.","fork":false,"url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter","forks_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/forks","keys_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/teams","hooks_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/hooks","issue_events_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues/events{/number}","events_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/events","assignees_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/assignees{/user}","branches_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/branches{/branch}","tags_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/tags","blobs_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/statuses/{sha}","languages_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/languages","stargazers_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/stargazers","contributors_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/contributors","subscribers_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/subscribers","subscription_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/subscription","commits_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/contents/{+path}","compare_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/merges","archive_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/downloads","issues_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues{/number}","pulls_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls{/number}","milestones_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/milestones{/number}","notifications_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/labels{/name}","releases_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/releases{/id}","deployments_url":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/deployments","created_at":"2018-11-20T11:17:06Z","updated_at":"2018-11-29T12:53:19Z","pushed_at":"2018-11-29T12:53:17Z","git_url":"git://github.com/bl4ck4ndbr0wn/iReporter.git","ssh_url":"git@github.com:bl4ck4ndbr0wn/iReporter.git","clone_url":"https://github.com/bl4ck4ndbr0wn/iReporter.git","svn_url":"https://github.com/bl4ck4ndbr0wn/iReporter","homepage":null,"size":209,"stargazers_count":0,"watchers_count":0,"language":"Python","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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls/21"},"html":{"href":"https://github.com/bl4ck4ndbr0wn/iReporter/pull/21"},"issue":{"href":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues/21"},"comments":{"href":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/bl4ck4ndbr0wn/iReporter/statuses/582ceeaf7a266a94a894529c9fd68a6b878a66b4"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":831,"deletions":1,"changed_files":28}}
{"actor":{"display_login":"bl4ck4ndbr0wn"}}