{"action":"closed","number":42,"pull_request":{"url":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls/42","id":80449366,"html_url":"https://github.com/guidance-guarantee-programme/planner/pull/42","diff_url":"https://github.com/guidance-guarantee-programme/planner/pull/42.diff","patch_url":"https://github.com/guidance-guarantee-programme/planner/pull/42.patch","issue_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues/42","number":42,"state":"closed","locked":false,"title":"Paginate appointments","user":{"login":"benlovell","id":41963,"avatar_url":"https://avatars.githubusercontent.com/u/41963?v=3","gravatar_id":"","url":"https://api.github.com/users/benlovell","html_url":"https://github.com/benlovell","followers_url":"https://api.github.com/users/benlovell/followers","following_url":"https://api.github.com/users/benlovell/following{/other_user}","gists_url":"https://api.github.com/users/benlovell/gists{/gist_id}","starred_url":"https://api.github.com/users/benlovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlovell/subscriptions","organizations_url":"https://api.github.com/users/benlovell/orgs","repos_url":"https://api.github.com/users/benlovell/repos","events_url":"https://api.github.com/users/benlovell/events{/privacy}","received_events_url":"https://api.github.com/users/benlovell/received_events","type":"User","site_admin":false},"body":"Paginates appointments the same as booking requests.\n\nAlso improve naming for paging: `#all` doesn't make much sense now we're\nactually returning a paginated set. This improves the naming and makes it more\nobvious what we're dealing with in the front end.","created_at":"2016-08-08T13:19:14Z","updated_at":"2016-08-08T13:31:18Z","closed_at":"2016-08-08T13:31:18Z","merged_at":"2016-08-08T13:31:17Z","merge_commit_sha":"19ca363ab8221bbd4008a8c3fa7cfec0c2fc5c8c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls/42/commits","review_comments_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls/42/comments","review_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues/42/comments","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/statuses/b0b30fb07c52a72851f53cca1cf05f29694d5ae0","head":{"label":"guidance-guarantee-programme:paginate-appointments","ref":"paginate-appointments","sha":"b0b30fb07c52a72851f53cca1cf05f29694d5ae0","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":61359810,"name":"planner","full_name":"guidance-guarantee-programme/planner","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/planner","description":"Online Booking Appointments API and Planner","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/planner","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/releases{/id}","deployments_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/deployments","created_at":"2016-06-17T08:51:17Z","updated_at":"2016-07-31T12:41:01Z","pushed_at":"2016-08-08T13:31:17Z","git_url":"git://github.com/guidance-guarantee-programme/planner.git","ssh_url":"git@github.com:guidance-guarantee-programme/planner.git","clone_url":"https://github.com/guidance-guarantee-programme/planner.git","svn_url":"https://github.com/guidance-guarantee-programme/planner","homepage":null,"size":208,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"guidance-guarantee-programme:master","ref":"master","sha":"a35a301a49688267197c88dd1cdb49acd68d540a","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":61359810,"name":"planner","full_name":"guidance-guarantee-programme/planner","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/planner","description":"Online Booking Appointments API and Planner","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/planner","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/releases{/id}","deployments_url":"https://api.github.com/repos/guidance-guarantee-programme/planner/deployments","created_at":"2016-06-17T08:51:17Z","updated_at":"2016-07-31T12:41:01Z","pushed_at":"2016-08-08T13:31:17Z","git_url":"git://github.com/guidance-guarantee-programme/planner.git","ssh_url":"git@github.com:guidance-guarantee-programme/planner.git","clone_url":"https://github.com/guidance-guarantee-programme/planner.git","svn_url":"https://github.com/guidance-guarantee-programme/planner","homepage":null,"size":208,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls/42"},"html":{"href":"https://github.com/guidance-guarantee-programme/planner/pull/42"},"issue":{"href":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues/42"},"comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/planner/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guidance-guarantee-programme/planner/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/guidance-guarantee-programme/planner/statuses/b0b30fb07c52a72851f53cca1cf05f29694d5ae0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"benlovell","id":41963,"avatar_url":"https://avatars.githubusercontent.com/u/41963?v=3","gravatar_id":"","url":"https://api.github.com/users/benlovell","html_url":"https://github.com/benlovell","followers_url":"https://api.github.com/users/benlovell/followers","following_url":"https://api.github.com/users/benlovell/following{/other_user}","gists_url":"https://api.github.com/users/benlovell/gists{/gist_id}","starred_url":"https://api.github.com/users/benlovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlovell/subscriptions","organizations_url":"https://api.github.com/users/benlovell/orgs","repos_url":"https://api.github.com/users/benlovell/repos","events_url":"https://api.github.com/users/benlovell/events{/privacy}","received_events_url":"https://api.github.com/users/benlovell/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":16,"deletions":12,"changed_files":6}}
{"actor":{"display_login":"benlovell"}}