{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/bakku/easyalert/pulls/8","id":233803816,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzODAzODE2","html_url":"https://github.com/bakku/easyalert/pull/8","diff_url":"https://github.com/bakku/easyalert/pull/8.diff","patch_url":"https://github.com/bakku/easyalert/pull/8.patch","issue_url":"https://api.github.com/repos/bakku/easyalert/issues/8","number":8,"state":"open","locked":false,"title":"Auth endpoint","user":{"login":"bakku","id":9559624,"node_id":"MDQ6VXNlcjk1NTk2MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9559624?v=4","gravatar_id":"","url":"https://api.github.com/users/bakku","html_url":"https://github.com/bakku","followers_url":"https://api.github.com/users/bakku/followers","following_url":"https://api.github.com/users/bakku/following{/other_user}","gists_url":"https://api.github.com/users/bakku/gists{/gist_id}","starred_url":"https://api.github.com/users/bakku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakku/subscriptions","organizations_url":"https://api.github.com/users/bakku/orgs","repos_url":"https://api.github.com/users/bakku/repos","events_url":"https://api.github.com/users/bakku/events{/privacy}","received_events_url":"https://api.github.com/users/bakku/received_events","type":"User","site_admin":false},"body":"Fixes #3 \r\n\r\nThis PR adds the new auth endpoint at `POST /api/auth` that accepts email and password and returns the token if valid.\r\n\r\nIt also updates the FindUser query to allow more flexible querying.","created_at":"2018-11-27T07:19:26Z","updated_at":"2018-11-27T07:19:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bakku/easyalert/pulls/8/commits","review_comments_url":"https://api.github.com/repos/bakku/easyalert/pulls/8/comments","review_comment_url":"https://api.github.com/repos/bakku/easyalert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bakku/easyalert/issues/8/comments","statuses_url":"https://api.github.com/repos/bakku/easyalert/statuses/f53cc9a1bb9c466adc043408ae299f3cb060f5f4","head":{"label":"bakku:feat/auth_endpoint","ref":"feat/auth_endpoint","sha":"f53cc9a1bb9c466adc043408ae299f3cb060f5f4","user":{"login":"bakku","id":9559624,"node_id":"MDQ6VXNlcjk1NTk2MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9559624?v=4","gravatar_id":"","url":"https://api.github.com/users/bakku","html_url":"https://github.com/bakku","followers_url":"https://api.github.com/users/bakku/followers","following_url":"https://api.github.com/users/bakku/following{/other_user}","gists_url":"https://api.github.com/users/bakku/gists{/gist_id}","starred_url":"https://api.github.com/users/bakku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakku/subscriptions","organizations_url":"https://api.github.com/users/bakku/orgs","repos_url":"https://api.github.com/users/bakku/repos","events_url":"https://api.github.com/users/bakku/events{/privacy}","received_events_url":"https://api.github.com/users/bakku/received_events","type":"User","site_admin":false},"repo":{"id":132994527,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI5OTQ1Mjc=","name":"easyalert","full_name":"bakku/easyalert","private":false,"owner":{"login":"bakku","id":9559624,"node_id":"MDQ6VXNlcjk1NTk2MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9559624?v=4","gravatar_id":"","url":"https://api.github.com/users/bakku","html_url":"https://github.com/bakku","followers_url":"https://api.github.com/users/bakku/followers","following_url":"https://api.github.com/users/bakku/following{/other_user}","gists_url":"https://api.github.com/users/bakku/gists{/gist_id}","starred_url":"https://api.github.com/users/bakku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakku/subscriptions","organizations_url":"https://api.github.com/users/bakku/orgs","repos_url":"https://api.github.com/users/bakku/repos","events_url":"https://api.github.com/users/bakku/events{/privacy}","received_events_url":"https://api.github.com/users/bakku/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bakku/easyalert","description":"A small service which allows you to send notifications from nearly anywhere","fork":false,"url":"https://api.github.com/repos/bakku/easyalert","forks_url":"https://api.github.com/repos/bakku/easyalert/forks","keys_url":"https://api.github.com/repos/bakku/easyalert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bakku/easyalert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bakku/easyalert/teams","hooks_url":"https://api.github.com/repos/bakku/easyalert/hooks","issue_events_url":"https://api.github.com/repos/bakku/easyalert/issues/events{/number}","events_url":"https://api.github.com/repos/bakku/easyalert/events","assignees_url":"https://api.github.com/repos/bakku/easyalert/assignees{/user}","branches_url":"https://api.github.com/repos/bakku/easyalert/branches{/branch}","tags_url":"https://api.github.com/repos/bakku/easyalert/tags","blobs_url":"https://api.github.com/repos/bakku/easyalert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bakku/easyalert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bakku/easyalert/git/refs{/sha}","trees_url":"https://api.github.com/repos/bakku/easyalert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bakku/easyalert/statuses/{sha}","languages_url":"https://api.github.com/repos/bakku/easyalert/languages","stargazers_url":"https://api.github.com/repos/bakku/easyalert/stargazers","contributors_url":"https://api.github.com/repos/bakku/easyalert/contributors","subscribers_url":"https://api.github.com/repos/bakku/easyalert/subscribers","subscription_url":"https://api.github.com/repos/bakku/easyalert/subscription","commits_url":"https://api.github.com/repos/bakku/easyalert/commits{/sha}","git_commits_url":"https://api.github.com/repos/bakku/easyalert/git/commits{/sha}","comments_url":"https://api.github.com/repos/bakku/easyalert/comments{/number}","issue_comment_url":"https://api.github.com/repos/bakku/easyalert/issues/comments{/number}","contents_url":"https://api.github.com/repos/bakku/easyalert/contents/{+path}","compare_url":"https://api.github.com/repos/bakku/easyalert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bakku/easyalert/merges","archive_url":"https://api.github.com/repos/bakku/easyalert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bakku/easyalert/downloads","issues_url":"https://api.github.com/repos/bakku/easyalert/issues{/number}","pulls_url":"https://api.github.com/repos/bakku/easyalert/pulls{/number}","milestones_url":"https://api.github.com/repos/bakku/easyalert/milestones{/number}","notifications_url":"https://api.github.com/repos/bakku/easyalert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bakku/easyalert/labels{/name}","releases_url":"https://api.github.com/repos/bakku/easyalert/releases{/id}","deployments_url":"https://api.github.com/repos/bakku/easyalert/deployments","created_at":"2018-05-11T05:42:18Z","updated_at":"2018-11-27T06:15:09Z","pushed_at":"2018-11-27T07:14:32Z","git_url":"git://github.com/bakku/easyalert.git","ssh_url":"git@github.com:bakku/easyalert.git","clone_url":"https://github.com/bakku/easyalert.git","svn_url":"https://github.com/bakku/easyalert","homepage":null,"size":732,"stargazers_count":0,"watchers_count":0,"language":"Go","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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"bakku:master","ref":"master","sha":"1a7a49440c52617302fa533427e743ad15b78f74","user":{"login":"bakku","id":9559624,"node_id":"MDQ6VXNlcjk1NTk2MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9559624?v=4","gravatar_id":"","url":"https://api.github.com/users/bakku","html_url":"https://github.com/bakku","followers_url":"https://api.github.com/users/bakku/followers","following_url":"https://api.github.com/users/bakku/following{/other_user}","gists_url":"https://api.github.com/users/bakku/gists{/gist_id}","starred_url":"https://api.github.com/users/bakku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakku/subscriptions","organizations_url":"https://api.github.com/users/bakku/orgs","repos_url":"https://api.github.com/users/bakku/repos","events_url":"https://api.github.com/users/bakku/events{/privacy}","received_events_url":"https://api.github.com/users/bakku/received_events","type":"User","site_admin":false},"repo":{"id":132994527,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI5OTQ1Mjc=","name":"easyalert","full_name":"bakku/easyalert","private":false,"owner":{"login":"bakku","id":9559624,"node_id":"MDQ6VXNlcjk1NTk2MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9559624?v=4","gravatar_id":"","url":"https://api.github.com/users/bakku","html_url":"https://github.com/bakku","followers_url":"https://api.github.com/users/bakku/followers","following_url":"https://api.github.com/users/bakku/following{/other_user}","gists_url":"https://api.github.com/users/bakku/gists{/gist_id}","starred_url":"https://api.github.com/users/bakku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakku/subscriptions","organizations_url":"https://api.github.com/users/bakku/orgs","repos_url":"https://api.github.com/users/bakku/repos","events_url":"https://api.github.com/users/bakku/events{/privacy}","received_events_url":"https://api.github.com/users/bakku/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bakku/easyalert","description":"A small service which allows you to send notifications from nearly anywhere","fork":false,"url":"https://api.github.com/repos/bakku/easyalert","forks_url":"https://api.github.com/repos/bakku/easyalert/forks","keys_url":"https://api.github.com/repos/bakku/easyalert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bakku/easyalert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bakku/easyalert/teams","hooks_url":"https://api.github.com/repos/bakku/easyalert/hooks","issue_events_url":"https://api.github.com/repos/bakku/easyalert/issues/events{/number}","events_url":"https://api.github.com/repos/bakku/easyalert/events","assignees_url":"https://api.github.com/repos/bakku/easyalert/assignees{/user}","branches_url":"https://api.github.com/repos/bakku/easyalert/branches{/branch}","tags_url":"https://api.github.com/repos/bakku/easyalert/tags","blobs_url":"https://api.github.com/repos/bakku/easyalert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bakku/easyalert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bakku/easyalert/git/refs{/sha}","trees_url":"https://api.github.com/repos/bakku/easyalert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bakku/easyalert/statuses/{sha}","languages_url":"https://api.github.com/repos/bakku/easyalert/languages","stargazers_url":"https://api.github.com/repos/bakku/easyalert/stargazers","contributors_url":"https://api.github.com/repos/bakku/easyalert/contributors","subscribers_url":"https://api.github.com/repos/bakku/easyalert/subscribers","subscription_url":"https://api.github.com/repos/bakku/easyalert/subscription","commits_url":"https://api.github.com/repos/bakku/easyalert/commits{/sha}","git_commits_url":"https://api.github.com/repos/bakku/easyalert/git/commits{/sha}","comments_url":"https://api.github.com/repos/bakku/easyalert/comments{/number}","issue_comment_url":"https://api.github.com/repos/bakku/easyalert/issues/comments{/number}","contents_url":"https://api.github.com/repos/bakku/easyalert/contents/{+path}","compare_url":"https://api.github.com/repos/bakku/easyalert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bakku/easyalert/merges","archive_url":"https://api.github.com/repos/bakku/easyalert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bakku/easyalert/downloads","issues_url":"https://api.github.com/repos/bakku/easyalert/issues{/number}","pulls_url":"https://api.github.com/repos/bakku/easyalert/pulls{/number}","milestones_url":"https://api.github.com/repos/bakku/easyalert/milestones{/number}","notifications_url":"https://api.github.com/repos/bakku/easyalert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bakku/easyalert/labels{/name}","releases_url":"https://api.github.com/repos/bakku/easyalert/releases{/id}","deployments_url":"https://api.github.com/repos/bakku/easyalert/deployments","created_at":"2018-05-11T05:42:18Z","updated_at":"2018-11-27T06:15:09Z","pushed_at":"2018-11-27T07:14:32Z","git_url":"git://github.com/bakku/easyalert.git","ssh_url":"git@github.com:bakku/easyalert.git","clone_url":"https://github.com/bakku/easyalert.git","svn_url":"https://github.com/bakku/easyalert","homepage":null,"size":732,"stargazers_count":0,"watchers_count":0,"language":"Go","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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bakku/easyalert/pulls/8"},"html":{"href":"https://github.com/bakku/easyalert/pull/8"},"issue":{"href":"https://api.github.com/repos/bakku/easyalert/issues/8"},"comments":{"href":"https://api.github.com/repos/bakku/easyalert/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/bakku/easyalert/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/bakku/easyalert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bakku/easyalert/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/bakku/easyalert/statuses/f53cc9a1bb9c466adc043408ae299f3cb060f5f4"}},"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":256,"deletions":13,"changed_files":7}}
{"actor":{"display_login":"bakku"}}