{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/22","id":236244384,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MjQ0Mzg0","html_url":"https://github.com/andela/helios-ah-backend/pull/22","diff_url":"https://github.com/andela/helios-ah-backend/pull/22.diff","patch_url":"https://github.com/andela/helios-ah-backend/pull/22.patch","issue_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/22","number":22,"state":"open","locked":false,"title":"#161779792 List users","user":{"login":"nwashangai","id":13083304,"node_id":"MDQ6VXNlcjEzMDgzMzA0","avatar_url":"https://avatars0.githubusercontent.com/u/13083304?v=4","gravatar_id":"","url":"https://api.github.com/users/nwashangai","html_url":"https://github.com/nwashangai","followers_url":"https://api.github.com/users/nwashangai/followers","following_url":"https://api.github.com/users/nwashangai/following{/other_user}","gists_url":"https://api.github.com/users/nwashangai/gists{/gist_id}","starred_url":"https://api.github.com/users/nwashangai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwashangai/subscriptions","organizations_url":"https://api.github.com/users/nwashangai/orgs","repos_url":"https://api.github.com/users/nwashangai/repos","events_url":"https://api.github.com/users/nwashangai/events{/privacy}","received_events_url":"https://api.github.com/users/nwashangai/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n* Adds a list Users functionality\r\n#### Description of Task to be completed?\r\n* Unit test to test list user(authors) endpoints\r\n* Create endpoint to get all authors\r\n* Create endpoint to get all authors that matches search\r\n#### How should this be manually tested?\r\n- npm run migrate\r\n- Run npm test\r\n#### Any background context you want to provide?\r\n* N/A\r\n#### What are the relevant pivotal tracker stories?\r\n*  [ #161779792](https://www.pivotaltracker.com/story/show/161779792)\r\n#### Screenshots (if appropriate)\r\n* N/A\r\n#### Questions:   \r\n* N/A\r\n","created_at":"2018-12-05T16:42:43Z","updated_at":"2018-12-05T16:42:43Z","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/andela/helios-ah-backend/pulls/22/commits","review_comments_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/22/comments","review_comment_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/22/comments","statuses_url":"https://api.github.com/repos/andela/helios-ah-backend/statuses/9fdbe328ae304bd8557df84f9fe6065d47853c9a","head":{"label":"andela:ft-list-users-161779792","ref":"ft-list-users-161779792","sha":"9fdbe328ae304bd8557df84f9fe6065d47853c9a","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":156541987,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDE5ODc=","name":"helios-ah-backend","full_name":"andela/helios-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/helios-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/helios-ah-backend","forks_url":"https://api.github.com/repos/andela/helios-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/helios-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/helios-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/helios-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/helios-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/helios-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/helios-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/helios-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/helios-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/helios-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/helios-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/helios-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/helios-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/helios-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/helios-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/helios-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/helios-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/helios-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/helios-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/helios-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/helios-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/helios-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/helios-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/helios-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/helios-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/helios-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/helios-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/helios-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/helios-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/helios-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/helios-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/helios-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/helios-ah-backend/deployments","created_at":"2018-11-07T12:17:35Z","updated_at":"2018-11-29T13:03:25Z","pushed_at":"2018-12-05T16:31:58Z","git_url":"git://github.com/andela/helios-ah-backend.git","ssh_url":"git@github.com:andela/helios-ah-backend.git","clone_url":"https://github.com/andela/helios-ah-backend.git","svn_url":"https://github.com/andela/helios-ah-backend","homepage":null,"size":169,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:develop","ref":"develop","sha":"ca577b2e49a387c1998ba2221891755ca4cb28c5","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":156541987,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDE5ODc=","name":"helios-ah-backend","full_name":"andela/helios-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/helios-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/helios-ah-backend","forks_url":"https://api.github.com/repos/andela/helios-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/helios-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/helios-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/helios-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/helios-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/helios-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/helios-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/helios-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/helios-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/helios-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/helios-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/helios-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/helios-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/helios-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/helios-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/helios-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/helios-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/helios-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/helios-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/helios-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/helios-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/helios-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/helios-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/helios-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/helios-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/helios-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/helios-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/helios-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/helios-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/helios-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/helios-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/helios-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/helios-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/helios-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/helios-ah-backend/deployments","created_at":"2018-11-07T12:17:35Z","updated_at":"2018-11-29T13:03:25Z","pushed_at":"2018-12-05T16:31:58Z","git_url":"git://github.com/andela/helios-ah-backend.git","ssh_url":"git@github.com:andela/helios-ah-backend.git","clone_url":"https://github.com/andela/helios-ah-backend.git","svn_url":"https://github.com/andela/helios-ah-backend","homepage":null,"size":169,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/22"},"html":{"href":"https://github.com/andela/helios-ah-backend/pull/22"},"issue":{"href":"https://api.github.com/repos/andela/helios-ah-backend/issues/22"},"comments":{"href":"https://api.github.com/repos/andela/helios-ah-backend/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/helios-ah-backend/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/andela/helios-ah-backend/statuses/9fdbe328ae304bd8557df84f9fe6065d47853c9a"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":16,"additions":266,"deletions":9363,"changed_files":11}}
{"actor":{"display_login":"nwashangai"}}