{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls/21","id":215356862,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MzU2ODYy","html_url":"https://github.com/andela/ah-backend-iroquois/pull/21","diff_url":"https://github.com/andela/ah-backend-iroquois/pull/21.diff","patch_url":"https://github.com/andela/ah-backend-iroquois/pull/21.patch","issue_url":"https://api.github.com/repos/andela/ah-backend-iroquois/issues/21","number":21,"state":"open","locked":false,"title":"feature(paginate articles): Pagination support for articles.","user":{"login":"huxaiphaer","id":14312249,"node_id":"MDQ6VXNlcjE0MzEyMjQ5","avatar_url":"https://avatars2.githubusercontent.com/u/14312249?v=4","gravatar_id":"","url":"https://api.github.com/users/huxaiphaer","html_url":"https://github.com/huxaiphaer","followers_url":"https://api.github.com/users/huxaiphaer/followers","following_url":"https://api.github.com/users/huxaiphaer/following{/other_user}","gists_url":"https://api.github.com/users/huxaiphaer/gists{/gist_id}","starred_url":"https://api.github.com/users/huxaiphaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huxaiphaer/subscriptions","organizations_url":"https://api.github.com/users/huxaiphaer/orgs","repos_url":"https://api.github.com/users/huxaiphaer/repos","events_url":"https://api.github.com/users/huxaiphaer/events{/privacy}","received_events_url":"https://api.github.com/users/huxaiphaer/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n-  It paginates the articles created by User\r\n#### Description of Task to be completed?\r\n- \r\n#### How should this be manually tested?\r\n\r\nThe developer should use the Get HTTP Method and specifies the page number.\r\nThis the URL you use.\r\n` /api/articles/?page={page_number}`\r\nBelow is the sample of the URL, testing page 5.\r\n`/api/articles/?page=5`\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[159952015](https://www.pivotaltracker.com/story/show/159952015)\r\n","created_at":"2018-09-13T17:26:26Z","updated_at":"2018-09-13T17:26: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/andela/ah-backend-iroquois/pulls/21/commits","review_comments_url":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls/21/comments","review_comment_url":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ah-backend-iroquois/issues/21/comments","statuses_url":"https://api.github.com/repos/andela/ah-backend-iroquois/statuses/c2e763ba92658cf8af4fa5a30c6aa703410ba43d","head":{"label":"andela:ft-articles-pagination","ref":"ft-articles-pagination","sha":"c2e763ba92658cf8af4fa5a30c6aa703410ba43d","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":145754747,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU3NTQ3NDc=","name":"ah-backend-iroquois","full_name":"andela/ah-backend-iroquois","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},"private":false,"html_url":"https://github.com/andela/ah-backend-iroquois","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-backend-iroquois","forks_url":"https://api.github.com/repos/andela/ah-backend-iroquois/forks","keys_url":"https://api.github.com/repos/andela/ah-backend-iroquois/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-backend-iroquois/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-backend-iroquois/teams","hooks_url":"https://api.github.com/repos/andela/ah-backend-iroquois/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-backend-iroquois/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-backend-iroquois/events","assignees_url":"https://api.github.com/repos/andela/ah-backend-iroquois/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-backend-iroquois/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-backend-iroquois/tags","blobs_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-backend-iroquois/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-backend-iroquois/languages","stargazers_url":"https://api.github.com/repos/andela/ah-backend-iroquois/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-backend-iroquois/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-backend-iroquois/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-backend-iroquois/subscription","commits_url":"https://api.github.com/repos/andela/ah-backend-iroquois/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-backend-iroquois/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-backend-iroquois/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-backend-iroquois/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-backend-iroquois/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-backend-iroquois/merges","archive_url":"https://api.github.com/repos/andela/ah-backend-iroquois/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-backend-iroquois/downloads","issues_url":"https://api.github.com/repos/andela/ah-backend-iroquois/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-backend-iroquois/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-backend-iroquois/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-backend-iroquois/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-backend-iroquois/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-backend-iroquois/deployments","created_at":"2018-08-22T19:41:19Z","updated_at":"2018-09-13T15:23:36Z","pushed_at":"2018-09-13T17:23:10Z","git_url":"git://github.com/andela/ah-backend-iroquois.git","ssh_url":"git@github.com:andela/ah-backend-iroquois.git","clone_url":"https://github.com/andela/ah-backend-iroquois.git","svn_url":"https://github.com/andela/ah-backend-iroquois","homepage":null,"size":71,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"5c323ee367112add3439a6d800998cbf24d54803","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":145754747,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU3NTQ3NDc=","name":"ah-backend-iroquois","full_name":"andela/ah-backend-iroquois","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},"private":false,"html_url":"https://github.com/andela/ah-backend-iroquois","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-backend-iroquois","forks_url":"https://api.github.com/repos/andela/ah-backend-iroquois/forks","keys_url":"https://api.github.com/repos/andela/ah-backend-iroquois/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-backend-iroquois/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-backend-iroquois/teams","hooks_url":"https://api.github.com/repos/andela/ah-backend-iroquois/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-backend-iroquois/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-backend-iroquois/events","assignees_url":"https://api.github.com/repos/andela/ah-backend-iroquois/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-backend-iroquois/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-backend-iroquois/tags","blobs_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-backend-iroquois/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-backend-iroquois/languages","stargazers_url":"https://api.github.com/repos/andela/ah-backend-iroquois/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-backend-iroquois/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-backend-iroquois/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-backend-iroquois/subscription","commits_url":"https://api.github.com/repos/andela/ah-backend-iroquois/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-backend-iroquois/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-backend-iroquois/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-backend-iroquois/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-backend-iroquois/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-backend-iroquois/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-backend-iroquois/merges","archive_url":"https://api.github.com/repos/andela/ah-backend-iroquois/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-backend-iroquois/downloads","issues_url":"https://api.github.com/repos/andela/ah-backend-iroquois/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-backend-iroquois/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-backend-iroquois/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-backend-iroquois/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-backend-iroquois/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-backend-iroquois/deployments","created_at":"2018-08-22T19:41:19Z","updated_at":"2018-09-13T15:23:36Z","pushed_at":"2018-09-13T17:23:10Z","git_url":"git://github.com/andela/ah-backend-iroquois.git","ssh_url":"git@github.com:andela/ah-backend-iroquois.git","clone_url":"https://github.com/andela/ah-backend-iroquois.git","svn_url":"https://github.com/andela/ah-backend-iroquois","homepage":null,"size":71,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":1,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls/21"},"html":{"href":"https://github.com/andela/ah-backend-iroquois/pull/21"},"issue":{"href":"https://api.github.com/repos/andela/ah-backend-iroquois/issues/21"},"comments":{"href":"https://api.github.com/repos/andela/ah-backend-iroquois/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ah-backend-iroquois/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ah-backend-iroquois/statuses/c2e763ba92658cf8af4fa5a30c6aa703410ba43d"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":40,"deletions":11,"changed_files":4}}
{"actor":{"display_login":"huxaiphaer"}}