{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls/5","id":42396449,"html_url":"https://github.com/mwarkentin/hubot-vmfarms/pull/5","diff_url":"https://github.com/mwarkentin/hubot-vmfarms/pull/5.diff","patch_url":"https://github.com/mwarkentin/hubot-vmfarms/pull/5.patch","issue_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues/5","number":5,"state":"closed","locked":false,"title":"Handle VMF API pagination on the server list","user":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"body":"* Make an initial call to the API to get a server count, use that to calculate the number of pages, and then call all of those pages to build a full server list.\r\n* Add server disk size to table (data was added to the API recently)\r\n\r\nFixes #3.\r\nFixes #4.","created_at":"2015-08-13T20:41:15Z","updated_at":"2015-08-13T21:54:07Z","closed_at":"2015-08-13T21:54:07Z","merged_at":"2015-08-13T21:54:06Z","merge_commit_sha":"5ed2a54448e5942eb115212e94404046d250de50","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls/5/commits","review_comments_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls/5/comments","review_comment_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues/5/comments","statuses_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/statuses/e4aa157b227883808ec7a37953a633f248167f9b","head":{"label":"mwarkentin:4-vmf-server-pagination","ref":"4-vmf-server-pagination","sha":"e4aa157b227883808ec7a37953a633f248167f9b","user":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"repo":{"id":38268519,"name":"hubot-vmfarms","full_name":"mwarkentin/hubot-vmfarms","owner":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwarkentin/hubot-vmfarms","description":"A hubot script to interact with VMFarms API","fork":false,"url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms","forks_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/forks","keys_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/teams","hooks_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/hooks","issue_events_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues/events{/number}","events_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/events","assignees_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/assignees{/user}","branches_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/branches{/branch}","tags_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/tags","blobs_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/statuses/{sha}","languages_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/languages","stargazers_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/stargazers","contributors_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/contributors","subscribers_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/subscribers","subscription_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/subscription","commits_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/contents/{+path}","compare_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/merges","archive_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/downloads","issues_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues{/number}","pulls_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls{/number}","milestones_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/milestones{/number}","notifications_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/labels{/name}","releases_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/releases{/id}","created_at":"2015-06-29T20:06:45Z","updated_at":"2015-07-07T05:46:30Z","pushed_at":"2015-08-13T21:54:06Z","git_url":"git://github.com/mwarkentin/hubot-vmfarms.git","ssh_url":"git@github.com:mwarkentin/hubot-vmfarms.git","clone_url":"https://github.com/mwarkentin/hubot-vmfarms.git","svn_url":"https://github.com/mwarkentin/hubot-vmfarms","homepage":null,"size":160,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mwarkentin:master","ref":"master","sha":"39853531d55ab083c76d1b5abcf3effd02ee241d","user":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"repo":{"id":38268519,"name":"hubot-vmfarms","full_name":"mwarkentin/hubot-vmfarms","owner":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwarkentin/hubot-vmfarms","description":"A hubot script to interact with VMFarms API","fork":false,"url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms","forks_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/forks","keys_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/teams","hooks_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/hooks","issue_events_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues/events{/number}","events_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/events","assignees_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/assignees{/user}","branches_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/branches{/branch}","tags_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/tags","blobs_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/statuses/{sha}","languages_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/languages","stargazers_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/stargazers","contributors_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/contributors","subscribers_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/subscribers","subscription_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/subscription","commits_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/contents/{+path}","compare_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/merges","archive_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/downloads","issues_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues{/number}","pulls_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls{/number}","milestones_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/milestones{/number}","notifications_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/labels{/name}","releases_url":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/releases{/id}","created_at":"2015-06-29T20:06:45Z","updated_at":"2015-07-07T05:46:30Z","pushed_at":"2015-08-13T21:54:06Z","git_url":"git://github.com/mwarkentin/hubot-vmfarms.git","ssh_url":"git@github.com:mwarkentin/hubot-vmfarms.git","clone_url":"https://github.com/mwarkentin/hubot-vmfarms.git","svn_url":"https://github.com/mwarkentin/hubot-vmfarms","homepage":null,"size":160,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls/5"},"html":{"href":"https://github.com/mwarkentin/hubot-vmfarms/pull/5"},"issue":{"href":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues/5"},"comments":{"href":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/mwarkentin/hubot-vmfarms/statuses/e4aa157b227883808ec7a37953a633f248167f9b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":36,"deletions":14,"changed_files":1}}