{"action":"opened","number":420,"pull_request":{"url":"https://api.github.com/repos/coyote-team/coyote/pulls/420","id":226435414,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NDM1NDE0","html_url":"https://github.com/coyote-team/coyote/pull/420","diff_url":"https://github.com/coyote-team/coyote/pull/420.diff","patch_url":"https://github.com/coyote-team/coyote/pull/420.patch","issue_url":"https://api.github.com/repos/coyote-team/coyote/issues/420","number":420,"state":"open","locked":false,"title":"make audit table into a list-like table displaying only auditable data","user":{"login":"stacietaylorcima","id":25017973,"node_id":"MDQ6VXNlcjI1MDE3OTcz","avatar_url":"https://avatars0.githubusercontent.com/u/25017973?v=4","gravatar_id":"","url":"https://api.github.com/users/stacietaylorcima","html_url":"https://github.com/stacietaylorcima","followers_url":"https://api.github.com/users/stacietaylorcima/followers","following_url":"https://api.github.com/users/stacietaylorcima/following{/other_user}","gists_url":"https://api.github.com/users/stacietaylorcima/gists{/gist_id}","starred_url":"https://api.github.com/users/stacietaylorcima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stacietaylorcima/subscriptions","organizations_url":"https://api.github.com/users/stacietaylorcima/orgs","repos_url":"https://api.github.com/users/stacietaylorcima/repos","events_url":"https://api.github.com/users/stacietaylorcima/events{/privacy}","received_events_url":"https://api.github.com/users/stacietaylorcima/received_events","type":"User","site_admin":false},"body":"This is a big improvement to the audit log but I need suggestions on how to DRY it up. It for sure needs to be refactored. There is a lot of repetitive code, but I'm just not quite sure the best way to do it. What are your thoughts @flipsasser?  ","created_at":"2018-10-29T04:33:05Z","updated_at":"2018-10-29T04:33:05Z","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/coyote-team/coyote/pulls/420/commits","review_comments_url":"https://api.github.com/repos/coyote-team/coyote/pulls/420/comments","review_comment_url":"https://api.github.com/repos/coyote-team/coyote/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coyote-team/coyote/issues/420/comments","statuses_url":"https://api.github.com/repos/coyote-team/coyote/statuses/b063e70989d1a8a1b1ff52c0a5ae56a2ce700027","head":{"label":"coyote-team:stacie/audit_log_updates","ref":"stacie/audit_log_updates","sha":"b063e70989d1a8a1b1ff52c0a5ae56a2ce700027","user":{"login":"coyote-team","id":19180368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MTgwMzY4","avatar_url":"https://avatars1.githubusercontent.com/u/19180368?v=4","gravatar_id":"","url":"https://api.github.com/users/coyote-team","html_url":"https://github.com/coyote-team","followers_url":"https://api.github.com/users/coyote-team/followers","following_url":"https://api.github.com/users/coyote-team/following{/other_user}","gists_url":"https://api.github.com/users/coyote-team/gists{/gist_id}","starred_url":"https://api.github.com/users/coyote-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyote-team/subscriptions","organizations_url":"https://api.github.com/users/coyote-team/orgs","repos_url":"https://api.github.com/users/coyote-team/repos","events_url":"https://api.github.com/users/coyote-team/events{/privacy}","received_events_url":"https://api.github.com/users/coyote-team/received_events","type":"Organization","site_admin":false},"repo":{"id":58060020,"node_id":"MDEwOlJlcG9zaXRvcnk1ODA2MDAyMA==","name":"coyote","full_name":"coyote-team/coyote","private":false,"owner":{"login":"coyote-team","id":19180368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MTgwMzY4","avatar_url":"https://avatars1.githubusercontent.com/u/19180368?v=4","gravatar_id":"","url":"https://api.github.com/users/coyote-team","html_url":"https://github.com/coyote-team","followers_url":"https://api.github.com/users/coyote-team/followers","following_url":"https://api.github.com/users/coyote-team/following{/other_user}","gists_url":"https://api.github.com/users/coyote-team/gists{/gist_id}","starred_url":"https://api.github.com/users/coyote-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyote-team/subscriptions","organizations_url":"https://api.github.com/users/coyote-team/orgs","repos_url":"https://api.github.com/users/coyote-team/repos","events_url":"https://api.github.com/users/coyote-team/events{/privacy}","received_events_url":"https://api.github.com/users/coyote-team/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/coyote-team/coyote","description":"Image annotation site and API to enable the distributed annotation of museum images.","fork":false,"url":"https://api.github.com/repos/coyote-team/coyote","forks_url":"https://api.github.com/repos/coyote-team/coyote/forks","keys_url":"https://api.github.com/repos/coyote-team/coyote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coyote-team/coyote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coyote-team/coyote/teams","hooks_url":"https://api.github.com/repos/coyote-team/coyote/hooks","issue_events_url":"https://api.github.com/repos/coyote-team/coyote/issues/events{/number}","events_url":"https://api.github.com/repos/coyote-team/coyote/events","assignees_url":"https://api.github.com/repos/coyote-team/coyote/assignees{/user}","branches_url":"https://api.github.com/repos/coyote-team/coyote/branches{/branch}","tags_url":"https://api.github.com/repos/coyote-team/coyote/tags","blobs_url":"https://api.github.com/repos/coyote-team/coyote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coyote-team/coyote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coyote-team/coyote/git/refs{/sha}","trees_url":"https://api.github.com/repos/coyote-team/coyote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coyote-team/coyote/statuses/{sha}","languages_url":"https://api.github.com/repos/coyote-team/coyote/languages","stargazers_url":"https://api.github.com/repos/coyote-team/coyote/stargazers","contributors_url":"https://api.github.com/repos/coyote-team/coyote/contributors","subscribers_url":"https://api.github.com/repos/coyote-team/coyote/subscribers","subscription_url":"https://api.github.com/repos/coyote-team/coyote/subscription","commits_url":"https://api.github.com/repos/coyote-team/coyote/commits{/sha}","git_commits_url":"https://api.github.com/repos/coyote-team/coyote/git/commits{/sha}","comments_url":"https://api.github.com/repos/coyote-team/coyote/comments{/number}","issue_comment_url":"https://api.github.com/repos/coyote-team/coyote/issues/comments{/number}","contents_url":"https://api.github.com/repos/coyote-team/coyote/contents/{+path}","compare_url":"https://api.github.com/repos/coyote-team/coyote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coyote-team/coyote/merges","archive_url":"https://api.github.com/repos/coyote-team/coyote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coyote-team/coyote/downloads","issues_url":"https://api.github.com/repos/coyote-team/coyote/issues{/number}","pulls_url":"https://api.github.com/repos/coyote-team/coyote/pulls{/number}","milestones_url":"https://api.github.com/repos/coyote-team/coyote/milestones{/number}","notifications_url":"https://api.github.com/repos/coyote-team/coyote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coyote-team/coyote/labels{/name}","releases_url":"https://api.github.com/repos/coyote-team/coyote/releases{/id}","deployments_url":"https://api.github.com/repos/coyote-team/coyote/deployments","created_at":"2016-05-04T14:46:47Z","updated_at":"2018-10-16T17:03:02Z","pushed_at":"2018-10-26T20:19:08Z","git_url":"git://github.com/coyote-team/coyote.git","ssh_url":"git@github.com:coyote-team/coyote.git","clone_url":"https://github.com/coyote-team/coyote.git","svn_url":"https://github.com/coyote-team/coyote","homepage":"https://coyote-team.github.io/coyote/","size":4201,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":71,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":8,"open_issues":71,"watchers":21,"default_branch":"master"}},"base":{"label":"coyote-team:master","ref":"master","sha":"7b0e3bc1e9c4b2815a0875f4e15ffc550ca2d6a6","user":{"login":"coyote-team","id":19180368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MTgwMzY4","avatar_url":"https://avatars1.githubusercontent.com/u/19180368?v=4","gravatar_id":"","url":"https://api.github.com/users/coyote-team","html_url":"https://github.com/coyote-team","followers_url":"https://api.github.com/users/coyote-team/followers","following_url":"https://api.github.com/users/coyote-team/following{/other_user}","gists_url":"https://api.github.com/users/coyote-team/gists{/gist_id}","starred_url":"https://api.github.com/users/coyote-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyote-team/subscriptions","organizations_url":"https://api.github.com/users/coyote-team/orgs","repos_url":"https://api.github.com/users/coyote-team/repos","events_url":"https://api.github.com/users/coyote-team/events{/privacy}","received_events_url":"https://api.github.com/users/coyote-team/received_events","type":"Organization","site_admin":false},"repo":{"id":58060020,"node_id":"MDEwOlJlcG9zaXRvcnk1ODA2MDAyMA==","name":"coyote","full_name":"coyote-team/coyote","private":false,"owner":{"login":"coyote-team","id":19180368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MTgwMzY4","avatar_url":"https://avatars1.githubusercontent.com/u/19180368?v=4","gravatar_id":"","url":"https://api.github.com/users/coyote-team","html_url":"https://github.com/coyote-team","followers_url":"https://api.github.com/users/coyote-team/followers","following_url":"https://api.github.com/users/coyote-team/following{/other_user}","gists_url":"https://api.github.com/users/coyote-team/gists{/gist_id}","starred_url":"https://api.github.com/users/coyote-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyote-team/subscriptions","organizations_url":"https://api.github.com/users/coyote-team/orgs","repos_url":"https://api.github.com/users/coyote-team/repos","events_url":"https://api.github.com/users/coyote-team/events{/privacy}","received_events_url":"https://api.github.com/users/coyote-team/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/coyote-team/coyote","description":"Image annotation site and API to enable the distributed annotation of museum images.","fork":false,"url":"https://api.github.com/repos/coyote-team/coyote","forks_url":"https://api.github.com/repos/coyote-team/coyote/forks","keys_url":"https://api.github.com/repos/coyote-team/coyote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coyote-team/coyote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coyote-team/coyote/teams","hooks_url":"https://api.github.com/repos/coyote-team/coyote/hooks","issue_events_url":"https://api.github.com/repos/coyote-team/coyote/issues/events{/number}","events_url":"https://api.github.com/repos/coyote-team/coyote/events","assignees_url":"https://api.github.com/repos/coyote-team/coyote/assignees{/user}","branches_url":"https://api.github.com/repos/coyote-team/coyote/branches{/branch}","tags_url":"https://api.github.com/repos/coyote-team/coyote/tags","blobs_url":"https://api.github.com/repos/coyote-team/coyote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coyote-team/coyote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coyote-team/coyote/git/refs{/sha}","trees_url":"https://api.github.com/repos/coyote-team/coyote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coyote-team/coyote/statuses/{sha}","languages_url":"https://api.github.com/repos/coyote-team/coyote/languages","stargazers_url":"https://api.github.com/repos/coyote-team/coyote/stargazers","contributors_url":"https://api.github.com/repos/coyote-team/coyote/contributors","subscribers_url":"https://api.github.com/repos/coyote-team/coyote/subscribers","subscription_url":"https://api.github.com/repos/coyote-team/coyote/subscription","commits_url":"https://api.github.com/repos/coyote-team/coyote/commits{/sha}","git_commits_url":"https://api.github.com/repos/coyote-team/coyote/git/commits{/sha}","comments_url":"https://api.github.com/repos/coyote-team/coyote/comments{/number}","issue_comment_url":"https://api.github.com/repos/coyote-team/coyote/issues/comments{/number}","contents_url":"https://api.github.com/repos/coyote-team/coyote/contents/{+path}","compare_url":"https://api.github.com/repos/coyote-team/coyote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coyote-team/coyote/merges","archive_url":"https://api.github.com/repos/coyote-team/coyote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coyote-team/coyote/downloads","issues_url":"https://api.github.com/repos/coyote-team/coyote/issues{/number}","pulls_url":"https://api.github.com/repos/coyote-team/coyote/pulls{/number}","milestones_url":"https://api.github.com/repos/coyote-team/coyote/milestones{/number}","notifications_url":"https://api.github.com/repos/coyote-team/coyote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coyote-team/coyote/labels{/name}","releases_url":"https://api.github.com/repos/coyote-team/coyote/releases{/id}","deployments_url":"https://api.github.com/repos/coyote-team/coyote/deployments","created_at":"2016-05-04T14:46:47Z","updated_at":"2018-10-16T17:03:02Z","pushed_at":"2018-10-26T20:19:08Z","git_url":"git://github.com/coyote-team/coyote.git","ssh_url":"git@github.com:coyote-team/coyote.git","clone_url":"https://github.com/coyote-team/coyote.git","svn_url":"https://github.com/coyote-team/coyote","homepage":"https://coyote-team.github.io/coyote/","size":4201,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":71,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":8,"open_issues":71,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coyote-team/coyote/pulls/420"},"html":{"href":"https://github.com/coyote-team/coyote/pull/420"},"issue":{"href":"https://api.github.com/repos/coyote-team/coyote/issues/420"},"comments":{"href":"https://api.github.com/repos/coyote-team/coyote/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/coyote-team/coyote/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/coyote-team/coyote/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coyote-team/coyote/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/coyote-team/coyote/statuses/b063e70989d1a8a1b1ff52c0a5ae56a2ce700027"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":114,"deletions":35,"changed_files":3}}
{"actor":{"display_login":"stacietaylorcima"}}