payload: {"action":"closed","number":29,"pull_request":{"url":"https://api.github.com/repos/andela/vali-ah-backend/pulls/29","id":305047380,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA1MDQ3Mzgw","html_url":"https://github.com/andela/vali-ah-backend/pull/29","diff_url":"https://github.com/andela/vali-ah-backend/pull/29.diff","patch_url":"https://github.com/andela/vali-ah-backend/pull/29.patch","issue_url":"https://api.github.com/repos/andela/vali-ah-backend/issues/29","number":29,"state":"closed","locked":false,"title":"#167377554 Search functionality for articles","user":{"login":"Nennyfills","id":45515619,"node_id":"MDQ6VXNlcjQ1NTE1NjE5","avatar_url":"https://avatars0.githubusercontent.com/u/45515619?v=4","gravatar_id":"","url":"https://api.github.com/users/Nennyfills","html_url":"https://github.com/Nennyfills","followers_url":"https://api.github.com/users/Nennyfills/followers","following_url":"https://api.github.com/users/Nennyfills/following{/other_user}","gists_url":"https://api.github.com/users/Nennyfills/gists{/gist_id}","starred_url":"https://api.github.com/users/Nennyfills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nennyfills/subscriptions","organizations_url":"https://api.github.com/users/Nennyfills/orgs","repos_url":"https://api.github.com/users/Nennyfills/repos","events_url":"https://api.github.com/users/Nennyfills/events{/privacy}","received_events_url":"https://api.github.com/users/Nennyfills/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nThis pull request enables all user to search for articles.\r\n\r\n#### Description of Task to be completed\r\n-  Create RESTful route to get an article by category, title, author, and keyword\r\n-  Add validation to articles category, title, author, and keyword queries\r\n-  Write a test to test articles validation and route\r\n\r\n#### How should this be manually tested?\r\n- git clone this branch\r\n- run `npm install`\r\n- Using postman: \r\n    Get  - `http://localhost:{port}/api/v1/articles?author`\r\n\r\n#### Any Background Context You want to provide?\r\nN/A\r\n#### What are the relevant pivotal tracker stories?\r\n\r\n[#167377554](https://pivotaltracker.com/story/show/167377554)\r\n\r\n#### Screenshots (if appropriate)\r\n<img width=\"1116\" alt=\"Screenshot 2019-08-07 at 1 29 53 PM\" src=\"https://user-images.githubusercontent.com/45515619/62624979-39b69280-b91c-11e9-94ad-ba823ff4ce9c.png\">\r\n<img width=\"1023\" alt=\"Screenshot 2019-08-07 at 1 28 42 PM\" src=\"https://user-images.githubusercontent.com/45515619/62624986-3d4a1980-b91c-11e9-9466-2484bb4fe532.png\">\r\n<img width=\"1080\" alt=\"Screenshot 2019-08-07 at 1 28 13 PM\" src=\"https://user-images.githubusercontent.com/45515619/62624996-41763700-b91c-11e9-9cd9-0ef3f3453e79.png\">\r\n<img width=\"1084\" alt=\"Screenshot 2019-08-07 at 1 27 44 PM\" src=\"https://user-images.githubusercontent.com/45515619/62625005-44712780-b91c-11e9-9531-508e1dc0d176.png\">\r\n<img width=\"1440\" alt=\"Screenshot 2019-08-07 at 1 27 31 PM\" src=\"https://user-images.githubusercontent.com/45515619/62625019-4c30cc00-b91c-11e9-81a5-f8b11e7f7176.png\">\r\n<img width=\"541\" alt=\"Screenshot 2019-08-07 at 1 26 55 PM\" src=\"https://user-images.githubusercontent.com/45515619/62625027-505ce980-b91c-11e9-9d3e-0c094818f1aa.png\">\r\n\r\n#### Questions:\r\nN/A","created_at":"2019-08-07T08:54:59Z","updated_at":"2019-08-09T22:10:37Z","closed_at":"2019-08-09T22:10:37Z","merged_at":"2019-08-09T22:10:37Z","merge_commit_sha":"27976aae53b4610a85a839813db5aa5c454a88c8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kennyedward","id":18053279,"node_id":"MDQ6VXNlcjE4MDUzMjc5","avatar_url":"https://avatars2.githubusercontent.com/u/18053279?v=4","gravatar_id":"","url":"https://api.github.com/users/kennyedward","html_url":"https://github.com/kennyedward","followers_url":"https://api.github.com/users/kennyedward/followers","following_url":"https://api.github.com/users/kennyedward/following{/other_user}","gists_url":"https://api.github.com/users/kennyedward/gists{/gist_id}","starred_url":"https://api.github.com/users/kennyedward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennyedward/subscriptions","organizations_url":"https://api.github.com/users/kennyedward/orgs","repos_url":"https://api.github.com/users/kennyedward/repos","events_url":"https://api.github.com/users/kennyedward/events{/privacy}","received_events_url":"https://api.github.com/users/kennyedward/received_events","type":"User","site_admin":false},{"login":"ibkadeeko","id":39800005,"node_id":"MDQ6VXNlcjM5ODAwMDA1","avatar_url":"https://avatars1.githubusercontent.com/u/39800005?v=4","gravatar_id":"","url":"https://api.github.com/users/ibkadeeko","html_url":"https://github.com/ibkadeeko","followers_url":"https://api.github.com/users/ibkadeeko/followers","following_url":"https://api.github.com/users/ibkadeeko/following{/other_user}","gists_url":"https://api.github.com/users/ibkadeeko/gists{/gist_id}","starred_url":"https://api.github.com/users/ibkadeeko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibkadeeko/subscriptions","organizations_url":"https://api.github.com/users/ibkadeeko/orgs","repos_url":"https://api.github.com/users/ibkadeeko/repos","events_url":"https://api.github.com/users/ibkadeeko/events{/privacy}","received_events_url":"https://api.github.com/users/ibkadeeko/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1463464607,"node_id":"MDU6TGFiZWwxNDYzNDY0NjA3","url":"https://api.github.com/repos/andela/vali-ah-backend/labels/peer-review","name":"peer-review","color":"5d89c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/andela/vali-ah-backend/pulls/29/commits","review_comments_url":"https://api.github.com/repos/andela/vali-ah-backend/pulls/29/comments","review_comment_url":"https://api.github.com/repos/andela/vali-ah-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/vali-ah-backend/issues/29/comments","statuses_url":"https://api.github.com/repos/andela/vali-ah-backend/statuses/978d51995ccd9aab81e27b0395638be4970e541c","head":{"label":"andela:ft-search-functionality-for-article-167377554","ref":"ft-search-functionality-for-article-167377554","sha":"978d51995ccd9aab81e27b0395638be4970e541c","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":197616451,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc2MTY0NTE=","name":"vali-ah-backend","full_name":"andela/vali-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/vali-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/vali-ah-backend","forks_url":"https://api.github.com/repos/andela/vali-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/vali-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/vali-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/vali-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/vali-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/vali-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/vali-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/vali-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/vali-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/vali-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/vali-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/vali-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/vali-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/vali-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/vali-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/vali-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/vali-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/vali-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/vali-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/vali-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/vali-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/vali-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/vali-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/vali-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/vali-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/vali-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/vali-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/vali-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/vali-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/vali-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/vali-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/vali-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/vali-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/vali-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/vali-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/vali-ah-backend/deployments","created_at":"2019-07-18T15:50:12Z","updated_at":"2019-08-09T15:08:49Z","pushed_at":"2019-08-09T22:10:37Z","git_url":"git://github.com/andela/vali-ah-backend.git","ssh_url":"git@github.com:andela/vali-ah-backend.git","clone_url":"https://github.com/andela/vali-ah-backend.git","svn_url":"https://github.com/andela/vali-ah-backend","homepage":null,"size":307,"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,"disabled":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"b9d8546861ce324da5a2ab482f677cc22aaae7dd","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":197616451,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc2MTY0NTE=","name":"vali-ah-backend","full_name":"andela/vali-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/vali-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/vali-ah-backend","forks_url":"https://api.github.com/repos/andela/vali-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/vali-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/vali-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/vali-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/vali-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/vali-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/vali-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/vali-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/vali-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/vali-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/vali-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/vali-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/vali-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/vali-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/vali-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/vali-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/vali-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/vali-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/vali-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/vali-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/vali-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/vali-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/vali-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/vali-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/vali-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/vali-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/vali-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/vali-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/vali-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/vali-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/vali-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/vali-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/vali-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/vali-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/vali-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/vali-ah-backend/deployments","created_at":"2019-07-18T15:50:12Z","updated_at":"2019-08-09T15:08:49Z","pushed_at":"2019-08-09T22:10:37Z","git_url":"git://github.com/andela/vali-ah-backend.git","ssh_url":"git@github.com:andela/vali-ah-backend.git","clone_url":"https://github.com/andela/vali-ah-backend.git","svn_url":"https://github.com/andela/vali-ah-backend","homepage":null,"size":307,"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,"disabled":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/vali-ah-backend/pulls/29"},"html":{"href":"https://github.com/andela/vali-ah-backend/pull/29"},"issue":{"href":"https://api.github.com/repos/andela/vali-ah-backend/issues/29"},"comments":{"href":"https://api.github.com/repos/andela/vali-ah-backend/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/vali-ah-backend/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/vali-ah-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/vali-ah-backend/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/andela/vali-ah-backend/statuses/978d51995ccd9aab81e27b0395638be4970e541c"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Merkll","id":34121552,"node_id":"MDQ6VXNlcjM0MTIxNTUy","avatar_url":"https://avatars0.githubusercontent.com/u/34121552?v=4","gravatar_id":"","url":"https://api.github.com/users/Merkll","html_url":"https://github.com/Merkll","followers_url":"https://api.github.com/users/Merkll/followers","following_url":"https://api.github.com/users/Merkll/following{/other_user}","gists_url":"https://api.github.com/users/Merkll/gists{/gist_id}","starred_url":"https://api.github.com/users/Merkll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merkll/subscriptions","organizations_url":"https://api.github.com/users/Merkll/orgs","repos_url":"https://api.github.com/users/Merkll/repos","events_url":"https://api.github.com/users/Merkll/events{/privacy}","received_events_url":"https://api.github.com/users/Merkll/received_events","type":"User","site_admin":false},"comments":0,"review_comments":8,"maintainer_can_modify":false,"commits":1,"additions":464,"deletions":146,"changed_files":20}}
other: {"actor":{"display_login":"Merkll"}}