{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls/35","id":63131216,"html_url":"https://github.com/Mentoraat/plannings-tool-server/pull/35","diff_url":"https://github.com/Mentoraat/plannings-tool-server/pull/35.diff","patch_url":"https://github.com/Mentoraat/plannings-tool-server/pull/35.patch","issue_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues/35","number":35,"state":"open","locked":false,"title":"Only return courses with role teacher","user":{"login":"TimvdLippe","id":5948271,"avatar_url":"https://avatars.githubusercontent.com/u/5948271?v=3","gravatar_id":"","url":"https://api.github.com/users/TimvdLippe","html_url":"https://github.com/TimvdLippe","followers_url":"https://api.github.com/users/TimvdLippe/followers","following_url":"https://api.github.com/users/TimvdLippe/following{/other_user}","gists_url":"https://api.github.com/users/TimvdLippe/gists{/gist_id}","starred_url":"https://api.github.com/users/TimvdLippe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimvdLippe/subscriptions","organizations_url":"https://api.github.com/users/TimvdLippe/orgs","repos_url":"https://api.github.com/users/TimvdLippe/repos","events_url":"https://api.github.com/users/TimvdLippe/events{/privacy}","received_events_url":"https://api.github.com/users/TimvdLippe/received_events","type":"User","site_admin":false},"body":"Required for https://github.com/Mentoraat/plannings-tool-client/pull/51","created_at":"2016-03-16T20:34:20Z","updated_at":"2016-03-16T20:34:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a967692915e5c43a0a46ca48c2d1a5f3c0eaa18","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls/35/commits","review_comments_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls/35/comments","review_comment_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues/35/comments","statuses_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/statuses/1b3d4cf9aaf64839b6004b7fe2e29514d9c304d6","head":{"label":"Mentoraat:courses-only-teacher","ref":"courses-only-teacher","sha":"1b3d4cf9aaf64839b6004b7fe2e29514d9c304d6","user":{"login":"Mentoraat","id":13180609,"avatar_url":"https://avatars.githubusercontent.com/u/13180609?v=3","gravatar_id":"","url":"https://api.github.com/users/Mentoraat","html_url":"https://github.com/Mentoraat","followers_url":"https://api.github.com/users/Mentoraat/followers","following_url":"https://api.github.com/users/Mentoraat/following{/other_user}","gists_url":"https://api.github.com/users/Mentoraat/gists{/gist_id}","starred_url":"https://api.github.com/users/Mentoraat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mentoraat/subscriptions","organizations_url":"https://api.github.com/users/Mentoraat/orgs","repos_url":"https://api.github.com/users/Mentoraat/repos","events_url":"https://api.github.com/users/Mentoraat/events{/privacy}","received_events_url":"https://api.github.com/users/Mentoraat/received_events","type":"Organization","site_admin":false},"repo":{"id":40556577,"name":"plannings-tool-server","full_name":"Mentoraat/plannings-tool-server","owner":{"login":"Mentoraat","id":13180609,"avatar_url":"https://avatars.githubusercontent.com/u/13180609?v=3","gravatar_id":"","url":"https://api.github.com/users/Mentoraat","html_url":"https://github.com/Mentoraat","followers_url":"https://api.github.com/users/Mentoraat/followers","following_url":"https://api.github.com/users/Mentoraat/following{/other_user}","gists_url":"https://api.github.com/users/Mentoraat/gists{/gist_id}","starred_url":"https://api.github.com/users/Mentoraat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mentoraat/subscriptions","organizations_url":"https://api.github.com/users/Mentoraat/orgs","repos_url":"https://api.github.com/users/Mentoraat/repos","events_url":"https://api.github.com/users/Mentoraat/events{/privacy}","received_events_url":"https://api.github.com/users/Mentoraat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mentoraat/plannings-tool-server","description":"Server for the TU Delft planningstool","fork":false,"url":"https://api.github.com/repos/Mentoraat/plannings-tool-server","forks_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/forks","keys_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/teams","hooks_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/hooks","issue_events_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues/events{/number}","events_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/events","assignees_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/assignees{/user}","branches_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/branches{/branch}","tags_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/tags","blobs_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/languages","stargazers_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/stargazers","contributors_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/contributors","subscribers_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/subscribers","subscription_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/subscription","commits_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/contents/{+path}","compare_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/merges","archive_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/downloads","issues_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues{/number}","pulls_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/labels{/name}","releases_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/releases{/id}","deployments_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/deployments","created_at":"2015-08-11T17:50:17Z","updated_at":"2016-01-11T12:00:21Z","pushed_at":"2016-03-16T20:34:20Z","git_url":"git://github.com/Mentoraat/plannings-tool-server.git","ssh_url":"git@github.com:Mentoraat/plannings-tool-server.git","clone_url":"https://github.com/Mentoraat/plannings-tool-server.git","svn_url":"https://github.com/Mentoraat/plannings-tool-server","homepage":"http://planningstool.tudelft.nl","size":179,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"Mentoraat:master","ref":"master","sha":"15aaa3099f49c95c35a7ce51393f3ee3dc828cd1","user":{"login":"Mentoraat","id":13180609,"avatar_url":"https://avatars.githubusercontent.com/u/13180609?v=3","gravatar_id":"","url":"https://api.github.com/users/Mentoraat","html_url":"https://github.com/Mentoraat","followers_url":"https://api.github.com/users/Mentoraat/followers","following_url":"https://api.github.com/users/Mentoraat/following{/other_user}","gists_url":"https://api.github.com/users/Mentoraat/gists{/gist_id}","starred_url":"https://api.github.com/users/Mentoraat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mentoraat/subscriptions","organizations_url":"https://api.github.com/users/Mentoraat/orgs","repos_url":"https://api.github.com/users/Mentoraat/repos","events_url":"https://api.github.com/users/Mentoraat/events{/privacy}","received_events_url":"https://api.github.com/users/Mentoraat/received_events","type":"Organization","site_admin":false},"repo":{"id":40556577,"name":"plannings-tool-server","full_name":"Mentoraat/plannings-tool-server","owner":{"login":"Mentoraat","id":13180609,"avatar_url":"https://avatars.githubusercontent.com/u/13180609?v=3","gravatar_id":"","url":"https://api.github.com/users/Mentoraat","html_url":"https://github.com/Mentoraat","followers_url":"https://api.github.com/users/Mentoraat/followers","following_url":"https://api.github.com/users/Mentoraat/following{/other_user}","gists_url":"https://api.github.com/users/Mentoraat/gists{/gist_id}","starred_url":"https://api.github.com/users/Mentoraat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mentoraat/subscriptions","organizations_url":"https://api.github.com/users/Mentoraat/orgs","repos_url":"https://api.github.com/users/Mentoraat/repos","events_url":"https://api.github.com/users/Mentoraat/events{/privacy}","received_events_url":"https://api.github.com/users/Mentoraat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mentoraat/plannings-tool-server","description":"Server for the TU Delft planningstool","fork":false,"url":"https://api.github.com/repos/Mentoraat/plannings-tool-server","forks_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/forks","keys_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/teams","hooks_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/hooks","issue_events_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues/events{/number}","events_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/events","assignees_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/assignees{/user}","branches_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/branches{/branch}","tags_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/tags","blobs_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/languages","stargazers_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/stargazers","contributors_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/contributors","subscribers_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/subscribers","subscription_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/subscription","commits_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/contents/{+path}","compare_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/merges","archive_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/downloads","issues_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues{/number}","pulls_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/labels{/name}","releases_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/releases{/id}","deployments_url":"https://api.github.com/repos/Mentoraat/plannings-tool-server/deployments","created_at":"2015-08-11T17:50:17Z","updated_at":"2016-01-11T12:00:21Z","pushed_at":"2016-03-16T20:34:20Z","git_url":"git://github.com/Mentoraat/plannings-tool-server.git","ssh_url":"git@github.com:Mentoraat/plannings-tool-server.git","clone_url":"https://github.com/Mentoraat/plannings-tool-server.git","svn_url":"https://github.com/Mentoraat/plannings-tool-server","homepage":"http://planningstool.tudelft.nl","size":179,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls/35"},"html":{"href":"https://github.com/Mentoraat/plannings-tool-server/pull/35"},"issue":{"href":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues/35"},"comments":{"href":"https://api.github.com/repos/Mentoraat/plannings-tool-server/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mentoraat/plannings-tool-server/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/Mentoraat/plannings-tool-server/statuses/1b3d4cf9aaf64839b6004b7fe2e29514d9c304d6"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":2}}