{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/Skookum/bamboozled/pulls/42","id":185212662,"html_url":"https://github.com/Skookum/bamboozled/pull/42","diff_url":"https://github.com/Skookum/bamboozled/pull/42.diff","patch_url":"https://github.com/Skookum/bamboozled/pull/42.patch","issue_url":"https://api.github.com/repos/Skookum/bamboozled/issues/42","number":42,"state":"open","locked":false,"title":"Implement fetching employees via the custom report endpoint","user":{"login":"artfuldodger","id":225802,"avatar_url":"https://avatars3.githubusercontent.com/u/225802?v=4","gravatar_id":"","url":"https://api.github.com/users/artfuldodger","html_url":"https://github.com/artfuldodger","followers_url":"https://api.github.com/users/artfuldodger/followers","following_url":"https://api.github.com/users/artfuldodger/following{/other_user}","gists_url":"https://api.github.com/users/artfuldodger/gists{/gist_id}","starred_url":"https://api.github.com/users/artfuldodger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artfuldodger/subscriptions","organizations_url":"https://api.github.com/users/artfuldodger/orgs","repos_url":"https://api.github.com/users/artfuldodger/repos","events_url":"https://api.github.com/users/artfuldodger/events{/privacy}","received_events_url":"https://api.github.com/users/artfuldodger/received_events","type":"User","site_admin":false},"body":"Using the custom report endpoint allows us to get a list of the employees with any fields we want in a much more performant manner than iterating through all the employees and getting additional information one-by-one.","created_at":"2018-05-01T16:11:52Z","updated_at":"2018-05-01T16:11:52Z","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/Skookum/bamboozled/pulls/42/commits","review_comments_url":"https://api.github.com/repos/Skookum/bamboozled/pulls/42/comments","review_comment_url":"https://api.github.com/repos/Skookum/bamboozled/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Skookum/bamboozled/issues/42/comments","statuses_url":"https://api.github.com/repos/Skookum/bamboozled/statuses/a9be276dbee57948eb8d276577d9e35b4e9774dc","head":{"label":"bonusly:custom-reports","ref":"custom-reports","sha":"a9be276dbee57948eb8d276577d9e35b4e9774dc","user":{"login":"bonusly","id":2691782,"avatar_url":"https://avatars3.githubusercontent.com/u/2691782?v=4","gravatar_id":"","url":"https://api.github.com/users/bonusly","html_url":"https://github.com/bonusly","followers_url":"https://api.github.com/users/bonusly/followers","following_url":"https://api.github.com/users/bonusly/following{/other_user}","gists_url":"https://api.github.com/users/bonusly/gists{/gist_id}","starred_url":"https://api.github.com/users/bonusly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonusly/subscriptions","organizations_url":"https://api.github.com/users/bonusly/orgs","repos_url":"https://api.github.com/users/bonusly/repos","events_url":"https://api.github.com/users/bonusly/events{/privacy}","received_events_url":"https://api.github.com/users/bonusly/received_events","type":"Organization","site_admin":false},"repo":{"id":131649533,"name":"bamboozled","full_name":"bonusly/bamboozled","owner":{"login":"bonusly","id":2691782,"avatar_url":"https://avatars3.githubusercontent.com/u/2691782?v=4","gravatar_id":"","url":"https://api.github.com/users/bonusly","html_url":"https://github.com/bonusly","followers_url":"https://api.github.com/users/bonusly/followers","following_url":"https://api.github.com/users/bonusly/following{/other_user}","gists_url":"https://api.github.com/users/bonusly/gists{/gist_id}","starred_url":"https://api.github.com/users/bonusly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonusly/subscriptions","organizations_url":"https://api.github.com/users/bonusly/orgs","repos_url":"https://api.github.com/users/bonusly/repos","events_url":"https://api.github.com/users/bonusly/events{/privacy}","received_events_url":"https://api.github.com/users/bonusly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonusly/bamboozled","description":"Bamboozled wraps the BambooHR API without the use of Rails dependencies.","fork":true,"url":"https://api.github.com/repos/bonusly/bamboozled","forks_url":"https://api.github.com/repos/bonusly/bamboozled/forks","keys_url":"https://api.github.com/repos/bonusly/bamboozled/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonusly/bamboozled/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonusly/bamboozled/teams","hooks_url":"https://api.github.com/repos/bonusly/bamboozled/hooks","issue_events_url":"https://api.github.com/repos/bonusly/bamboozled/issues/events{/number}","events_url":"https://api.github.com/repos/bonusly/bamboozled/events","assignees_url":"https://api.github.com/repos/bonusly/bamboozled/assignees{/user}","branches_url":"https://api.github.com/repos/bonusly/bamboozled/branches{/branch}","tags_url":"https://api.github.com/repos/bonusly/bamboozled/tags","blobs_url":"https://api.github.com/repos/bonusly/bamboozled/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonusly/bamboozled/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonusly/bamboozled/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonusly/bamboozled/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonusly/bamboozled/statuses/{sha}","languages_url":"https://api.github.com/repos/bonusly/bamboozled/languages","stargazers_url":"https://api.github.com/repos/bonusly/bamboozled/stargazers","contributors_url":"https://api.github.com/repos/bonusly/bamboozled/contributors","subscribers_url":"https://api.github.com/repos/bonusly/bamboozled/subscribers","subscription_url":"https://api.github.com/repos/bonusly/bamboozled/subscription","commits_url":"https://api.github.com/repos/bonusly/bamboozled/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonusly/bamboozled/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonusly/bamboozled/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonusly/bamboozled/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonusly/bamboozled/contents/{+path}","compare_url":"https://api.github.com/repos/bonusly/bamboozled/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonusly/bamboozled/merges","archive_url":"https://api.github.com/repos/bonusly/bamboozled/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonusly/bamboozled/downloads","issues_url":"https://api.github.com/repos/bonusly/bamboozled/issues{/number}","pulls_url":"https://api.github.com/repos/bonusly/bamboozled/pulls{/number}","milestones_url":"https://api.github.com/repos/bonusly/bamboozled/milestones{/number}","notifications_url":"https://api.github.com/repos/bonusly/bamboozled/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonusly/bamboozled/labels{/name}","releases_url":"https://api.github.com/repos/bonusly/bamboozled/releases{/id}","deployments_url":"https://api.github.com/repos/bonusly/bamboozled/deployments","created_at":"2018-04-30T21:42:04Z","updated_at":"2018-04-30T21:42:06Z","pushed_at":"2018-05-01T16:08:45Z","git_url":"git://github.com/bonusly/bamboozled.git","ssh_url":"git@github.com:bonusly/bamboozled.git","clone_url":"https://github.com/bonusly/bamboozled.git","svn_url":"https://github.com/bonusly/bamboozled","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Skookum:master","ref":"master","sha":"0986b25b0abf0c44e44aaeb2bcdfb7ea4a2cb6b0","user":{"login":"Skookum","id":314568,"avatar_url":"https://avatars2.githubusercontent.com/u/314568?v=4","gravatar_id":"","url":"https://api.github.com/users/Skookum","html_url":"https://github.com/Skookum","followers_url":"https://api.github.com/users/Skookum/followers","following_url":"https://api.github.com/users/Skookum/following{/other_user}","gists_url":"https://api.github.com/users/Skookum/gists{/gist_id}","starred_url":"https://api.github.com/users/Skookum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skookum/subscriptions","organizations_url":"https://api.github.com/users/Skookum/orgs","repos_url":"https://api.github.com/users/Skookum/repos","events_url":"https://api.github.com/users/Skookum/events{/privacy}","received_events_url":"https://api.github.com/users/Skookum/received_events","type":"Organization","site_admin":false},"repo":{"id":20931838,"name":"bamboozled","full_name":"Skookum/bamboozled","owner":{"login":"Skookum","id":314568,"avatar_url":"https://avatars2.githubusercontent.com/u/314568?v=4","gravatar_id":"","url":"https://api.github.com/users/Skookum","html_url":"https://github.com/Skookum","followers_url":"https://api.github.com/users/Skookum/followers","following_url":"https://api.github.com/users/Skookum/following{/other_user}","gists_url":"https://api.github.com/users/Skookum/gists{/gist_id}","starred_url":"https://api.github.com/users/Skookum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skookum/subscriptions","organizations_url":"https://api.github.com/users/Skookum/orgs","repos_url":"https://api.github.com/users/Skookum/repos","events_url":"https://api.github.com/users/Skookum/events{/privacy}","received_events_url":"https://api.github.com/users/Skookum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Skookum/bamboozled","description":"Bamboozled wraps the BambooHR API without the use of Rails dependencies.","fork":false,"url":"https://api.github.com/repos/Skookum/bamboozled","forks_url":"https://api.github.com/repos/Skookum/bamboozled/forks","keys_url":"https://api.github.com/repos/Skookum/bamboozled/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Skookum/bamboozled/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Skookum/bamboozled/teams","hooks_url":"https://api.github.com/repos/Skookum/bamboozled/hooks","issue_events_url":"https://api.github.com/repos/Skookum/bamboozled/issues/events{/number}","events_url":"https://api.github.com/repos/Skookum/bamboozled/events","assignees_url":"https://api.github.com/repos/Skookum/bamboozled/assignees{/user}","branches_url":"https://api.github.com/repos/Skookum/bamboozled/branches{/branch}","tags_url":"https://api.github.com/repos/Skookum/bamboozled/tags","blobs_url":"https://api.github.com/repos/Skookum/bamboozled/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Skookum/bamboozled/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Skookum/bamboozled/git/refs{/sha}","trees_url":"https://api.github.com/repos/Skookum/bamboozled/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Skookum/bamboozled/statuses/{sha}","languages_url":"https://api.github.com/repos/Skookum/bamboozled/languages","stargazers_url":"https://api.github.com/repos/Skookum/bamboozled/stargazers","contributors_url":"https://api.github.com/repos/Skookum/bamboozled/contributors","subscribers_url":"https://api.github.com/repos/Skookum/bamboozled/subscribers","subscription_url":"https://api.github.com/repos/Skookum/bamboozled/subscription","commits_url":"https://api.github.com/repos/Skookum/bamboozled/commits{/sha}","git_commits_url":"https://api.github.com/repos/Skookum/bamboozled/git/commits{/sha}","comments_url":"https://api.github.com/repos/Skookum/bamboozled/comments{/number}","issue_comment_url":"https://api.github.com/repos/Skookum/bamboozled/issues/comments{/number}","contents_url":"https://api.github.com/repos/Skookum/bamboozled/contents/{+path}","compare_url":"https://api.github.com/repos/Skookum/bamboozled/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Skookum/bamboozled/merges","archive_url":"https://api.github.com/repos/Skookum/bamboozled/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Skookum/bamboozled/downloads","issues_url":"https://api.github.com/repos/Skookum/bamboozled/issues{/number}","pulls_url":"https://api.github.com/repos/Skookum/bamboozled/pulls{/number}","milestones_url":"https://api.github.com/repos/Skookum/bamboozled/milestones{/number}","notifications_url":"https://api.github.com/repos/Skookum/bamboozled/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Skookum/bamboozled/labels{/name}","releases_url":"https://api.github.com/repos/Skookum/bamboozled/releases{/id}","deployments_url":"https://api.github.com/repos/Skookum/bamboozled/deployments","created_at":"2014-06-17T16:52:31Z","updated_at":"2018-03-13T20:01:42Z","pushed_at":"2018-02-17T17:57:27Z","git_url":"git://github.com/Skookum/bamboozled.git","ssh_url":"git@github.com:Skookum/bamboozled.git","clone_url":"https://github.com/Skookum/bamboozled.git","svn_url":"https://github.com/Skookum/bamboozled","homepage":null,"size":144,"stargazers_count":25,"watchers_count":25,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":34,"open_issues":14,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/42"},"html":{"href":"https://github.com/Skookum/bamboozled/pull/42"},"issue":{"href":"https://api.github.com/repos/Skookum/bamboozled/issues/42"},"comments":{"href":"https://api.github.com/repos/Skookum/bamboozled/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Skookum/bamboozled/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/Skookum/bamboozled/statuses/a9be276dbee57948eb8d276577d9e35b4e9774dc"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":204,"deletions":11,"changed_files":9}}
{"actor":{"display_login":"artfuldodger"}}