{"action":"opened","number":59,"pull_request":{"url":"https://api.github.com/repos/emenlu/website/pulls/59","id":98354215,"html_url":"https://github.com/emenlu/website/pull/59","diff_url":"https://github.com/emenlu/website/pull/59.diff","patch_url":"https://github.com/emenlu/website/pull/59.patch","issue_url":"https://api.github.com/repos/emenlu/website/issues/59","number":59,"state":"open","locked":false,"title":"Refactor api","user":{"login":"smeetz","id":6011225,"avatar_url":"https://avatars.githubusercontent.com/u/6011225?v=3","gravatar_id":"","url":"https://api.github.com/users/smeetz","html_url":"https://github.com/smeetz","followers_url":"https://api.github.com/users/smeetz/followers","following_url":"https://api.github.com/users/smeetz/following{/other_user}","gists_url":"https://api.github.com/users/smeetz/gists{/gist_id}","starred_url":"https://api.github.com/users/smeetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smeetz/subscriptions","organizations_url":"https://api.github.com/users/smeetz/orgs","repos_url":"https://api.github.com/users/smeetz/repos","events_url":"https://api.github.com/users/smeetz/events{/privacy}","received_events_url":"https://api.github.com/users/smeetz/received_events","type":"User","site_admin":false},"body":"DONE\r\n - Move a lot of functionality from `window.user` to `window.api.v1`\r\n - Move a lot of api calls from different script files to `window.api.v1`\r\n - Fix modal bugs on collection and admin pages\r\n - Extend entry modal with option parameter for future (currently supports adding more buttons)\r\n\r\nTODO\r\n - Fix modal bug on submit page\r\n - Hunt down every last reference to `window.user`","created_at":"2016-12-16T15:35:25Z","updated_at":"2016-12-16T15:35:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/emenlu/website/pulls/59/commits","review_comments_url":"https://api.github.com/repos/emenlu/website/pulls/59/comments","review_comment_url":"https://api.github.com/repos/emenlu/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emenlu/website/issues/59/comments","statuses_url":"https://api.github.com/repos/emenlu/website/statuses/12e10bc017d5be717f47d52019a6b661f215efe9","head":{"label":"emenlu:refactor-api","ref":"refactor-api","sha":"12e10bc017d5be717f47d52019a6b661f215efe9","user":{"login":"emenlu","id":19193969,"avatar_url":"https://avatars.githubusercontent.com/u/19193969?v=3","gravatar_id":"","url":"https://api.github.com/users/emenlu","html_url":"https://github.com/emenlu","followers_url":"https://api.github.com/users/emenlu/followers","following_url":"https://api.github.com/users/emenlu/following{/other_user}","gists_url":"https://api.github.com/users/emenlu/gists{/gist_id}","starred_url":"https://api.github.com/users/emenlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emenlu/subscriptions","organizations_url":"https://api.github.com/users/emenlu/orgs","repos_url":"https://api.github.com/users/emenlu/repos","events_url":"https://api.github.com/users/emenlu/events{/privacy}","received_events_url":"https://api.github.com/users/emenlu/received_events","type":"User","site_admin":false},"repo":{"id":59488267,"name":"website","full_name":"emenlu/website","owner":{"login":"emenlu","id":19193969,"avatar_url":"https://avatars.githubusercontent.com/u/19193969?v=3","gravatar_id":"","url":"https://api.github.com/users/emenlu","html_url":"https://github.com/emenlu","followers_url":"https://api.github.com/users/emenlu/followers","following_url":"https://api.github.com/users/emenlu/following{/other_user}","gists_url":"https://api.github.com/users/emenlu/gists{/gist_id}","starred_url":"https://api.github.com/users/emenlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emenlu/subscriptions","organizations_url":"https://api.github.com/users/emenlu/orgs","repos_url":"https://api.github.com/users/emenlu/repos","events_url":"https://api.github.com/users/emenlu/events{/privacy}","received_events_url":"https://api.github.com/users/emenlu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emenlu/website","description":"SERP Connect frontend matter","fork":false,"url":"https://api.github.com/repos/emenlu/website","forks_url":"https://api.github.com/repos/emenlu/website/forks","keys_url":"https://api.github.com/repos/emenlu/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emenlu/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emenlu/website/teams","hooks_url":"https://api.github.com/repos/emenlu/website/hooks","issue_events_url":"https://api.github.com/repos/emenlu/website/issues/events{/number}","events_url":"https://api.github.com/repos/emenlu/website/events","assignees_url":"https://api.github.com/repos/emenlu/website/assignees{/user}","branches_url":"https://api.github.com/repos/emenlu/website/branches{/branch}","tags_url":"https://api.github.com/repos/emenlu/website/tags","blobs_url":"https://api.github.com/repos/emenlu/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emenlu/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emenlu/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/emenlu/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emenlu/website/statuses/{sha}","languages_url":"https://api.github.com/repos/emenlu/website/languages","stargazers_url":"https://api.github.com/repos/emenlu/website/stargazers","contributors_url":"https://api.github.com/repos/emenlu/website/contributors","subscribers_url":"https://api.github.com/repos/emenlu/website/subscribers","subscription_url":"https://api.github.com/repos/emenlu/website/subscription","commits_url":"https://api.github.com/repos/emenlu/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/emenlu/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/emenlu/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/emenlu/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/emenlu/website/contents/{+path}","compare_url":"https://api.github.com/repos/emenlu/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emenlu/website/merges","archive_url":"https://api.github.com/repos/emenlu/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emenlu/website/downloads","issues_url":"https://api.github.com/repos/emenlu/website/issues{/number}","pulls_url":"https://api.github.com/repos/emenlu/website/pulls{/number}","milestones_url":"https://api.github.com/repos/emenlu/website/milestones{/number}","notifications_url":"https://api.github.com/repos/emenlu/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emenlu/website/labels{/name}","releases_url":"https://api.github.com/repos/emenlu/website/releases{/id}","deployments_url":"https://api.github.com/repos/emenlu/website/deployments","created_at":"2016-05-23T14:11:55Z","updated_at":"2016-10-26T13:46:23Z","pushed_at":"2016-12-16T15:35:25Z","git_url":"git://github.com/emenlu/website.git","ssh_url":"git@github.com:emenlu/website.git","clone_url":"https://github.com/emenlu/website.git","svn_url":"https://github.com/emenlu/website","homepage":"https://serpconnect.cs.lth.se","size":456,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":19,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"emenlu:master","ref":"master","sha":"98acbbd5d6eea6f2c477434c3752691ab85ca2c8","user":{"login":"emenlu","id":19193969,"avatar_url":"https://avatars.githubusercontent.com/u/19193969?v=3","gravatar_id":"","url":"https://api.github.com/users/emenlu","html_url":"https://github.com/emenlu","followers_url":"https://api.github.com/users/emenlu/followers","following_url":"https://api.github.com/users/emenlu/following{/other_user}","gists_url":"https://api.github.com/users/emenlu/gists{/gist_id}","starred_url":"https://api.github.com/users/emenlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emenlu/subscriptions","organizations_url":"https://api.github.com/users/emenlu/orgs","repos_url":"https://api.github.com/users/emenlu/repos","events_url":"https://api.github.com/users/emenlu/events{/privacy}","received_events_url":"https://api.github.com/users/emenlu/received_events","type":"User","site_admin":false},"repo":{"id":59488267,"name":"website","full_name":"emenlu/website","owner":{"login":"emenlu","id":19193969,"avatar_url":"https://avatars.githubusercontent.com/u/19193969?v=3","gravatar_id":"","url":"https://api.github.com/users/emenlu","html_url":"https://github.com/emenlu","followers_url":"https://api.github.com/users/emenlu/followers","following_url":"https://api.github.com/users/emenlu/following{/other_user}","gists_url":"https://api.github.com/users/emenlu/gists{/gist_id}","starred_url":"https://api.github.com/users/emenlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emenlu/subscriptions","organizations_url":"https://api.github.com/users/emenlu/orgs","repos_url":"https://api.github.com/users/emenlu/repos","events_url":"https://api.github.com/users/emenlu/events{/privacy}","received_events_url":"https://api.github.com/users/emenlu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emenlu/website","description":"SERP Connect frontend matter","fork":false,"url":"https://api.github.com/repos/emenlu/website","forks_url":"https://api.github.com/repos/emenlu/website/forks","keys_url":"https://api.github.com/repos/emenlu/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emenlu/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emenlu/website/teams","hooks_url":"https://api.github.com/repos/emenlu/website/hooks","issue_events_url":"https://api.github.com/repos/emenlu/website/issues/events{/number}","events_url":"https://api.github.com/repos/emenlu/website/events","assignees_url":"https://api.github.com/repos/emenlu/website/assignees{/user}","branches_url":"https://api.github.com/repos/emenlu/website/branches{/branch}","tags_url":"https://api.github.com/repos/emenlu/website/tags","blobs_url":"https://api.github.com/repos/emenlu/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emenlu/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emenlu/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/emenlu/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emenlu/website/statuses/{sha}","languages_url":"https://api.github.com/repos/emenlu/website/languages","stargazers_url":"https://api.github.com/repos/emenlu/website/stargazers","contributors_url":"https://api.github.com/repos/emenlu/website/contributors","subscribers_url":"https://api.github.com/repos/emenlu/website/subscribers","subscription_url":"https://api.github.com/repos/emenlu/website/subscription","commits_url":"https://api.github.com/repos/emenlu/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/emenlu/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/emenlu/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/emenlu/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/emenlu/website/contents/{+path}","compare_url":"https://api.github.com/repos/emenlu/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emenlu/website/merges","archive_url":"https://api.github.com/repos/emenlu/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emenlu/website/downloads","issues_url":"https://api.github.com/repos/emenlu/website/issues{/number}","pulls_url":"https://api.github.com/repos/emenlu/website/pulls{/number}","milestones_url":"https://api.github.com/repos/emenlu/website/milestones{/number}","notifications_url":"https://api.github.com/repos/emenlu/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emenlu/website/labels{/name}","releases_url":"https://api.github.com/repos/emenlu/website/releases{/id}","deployments_url":"https://api.github.com/repos/emenlu/website/deployments","created_at":"2016-05-23T14:11:55Z","updated_at":"2016-10-26T13:46:23Z","pushed_at":"2016-12-16T15:35:25Z","git_url":"git://github.com/emenlu/website.git","ssh_url":"git@github.com:emenlu/website.git","clone_url":"https://github.com/emenlu/website.git","svn_url":"https://github.com/emenlu/website","homepage":"https://serpconnect.cs.lth.se","size":456,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":19,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emenlu/website/pulls/59"},"html":{"href":"https://github.com/emenlu/website/pull/59"},"issue":{"href":"https://api.github.com/repos/emenlu/website/issues/59"},"comments":{"href":"https://api.github.com/repos/emenlu/website/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/emenlu/website/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/emenlu/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emenlu/website/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/emenlu/website/statuses/12e10bc017d5be717f47d52019a6b661f215efe9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":470,"deletions":630,"changed_files":13}}
{"actor":{"display_login":"smeetz"}}