{"action":"closed","number":3345,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/3345","id":63359035,"html_url":"https://github.com/theforeman/foreman/pull/3345","diff_url":"https://github.com/theforeman/foreman/pull/3345.diff","patch_url":"https://github.com/theforeman/foreman/pull/3345.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/3345","number":3345,"state":"closed","locked":false,"title":" Fixes #14261 - User API should return correct admin status","user":{"login":"ranjan","id":24976,"avatar_url":"https://avatars.githubusercontent.com/u/24976?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjan","html_url":"https://github.com/ranjan","followers_url":"https://api.github.com/users/ranjan/followers","following_url":"https://api.github.com/users/ranjan/following{/other_user}","gists_url":"https://api.github.com/users/ranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjan/subscriptions","organizations_url":"https://api.github.com/users/ranjan/orgs","repos_url":"https://api.github.com/users/ranjan/repos","events_url":"https://api.github.com/users/ranjan/events{/privacy}","received_events_url":"https://api.github.com/users/ranjan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-18T11:11:32Z","updated_at":"2016-04-11T14:15:32Z","closed_at":"2016-04-11T14:15:32Z","merged_at":null,"merge_commit_sha":"ee5fbaf5796942119273a60ed3214ffb9f15d7db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/3345/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/3345/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/3345/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/8cc08074bea1ab11b8d66a72fb59392dd517a0a7","head":{"label":"ranjan:user-api","ref":"user-api","sha":"8cc08074bea1ab11b8d66a72fb59392dd517a0a7","user":{"login":"ranjan","id":24976,"avatar_url":"https://avatars.githubusercontent.com/u/24976?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjan","html_url":"https://github.com/ranjan","followers_url":"https://api.github.com/users/ranjan/followers","following_url":"https://api.github.com/users/ranjan/following{/other_user}","gists_url":"https://api.github.com/users/ranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjan/subscriptions","organizations_url":"https://api.github.com/users/ranjan/orgs","repos_url":"https://api.github.com/users/ranjan/repos","events_url":"https://api.github.com/users/ranjan/events{/privacy}","received_events_url":"https://api.github.com/users/ranjan/received_events","type":"User","site_admin":false},"repo":{"id":40884724,"name":"foreman","full_name":"ranjan/foreman","owner":{"login":"ranjan","id":24976,"avatar_url":"https://avatars.githubusercontent.com/u/24976?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjan","html_url":"https://github.com/ranjan","followers_url":"https://api.github.com/users/ranjan/followers","following_url":"https://api.github.com/users/ranjan/following{/other_user}","gists_url":"https://api.github.com/users/ranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjan/subscriptions","organizations_url":"https://api.github.com/users/ranjan/orgs","repos_url":"https://api.github.com/users/ranjan/repos","events_url":"https://api.github.com/users/ranjan/events{/privacy}","received_events_url":"https://api.github.com/users/ranjan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ranjan/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/ranjan/foreman","forks_url":"https://api.github.com/repos/ranjan/foreman/forks","keys_url":"https://api.github.com/repos/ranjan/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ranjan/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ranjan/foreman/teams","hooks_url":"https://api.github.com/repos/ranjan/foreman/hooks","issue_events_url":"https://api.github.com/repos/ranjan/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/ranjan/foreman/events","assignees_url":"https://api.github.com/repos/ranjan/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/ranjan/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/ranjan/foreman/tags","blobs_url":"https://api.github.com/repos/ranjan/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ranjan/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ranjan/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/ranjan/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ranjan/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/ranjan/foreman/languages","stargazers_url":"https://api.github.com/repos/ranjan/foreman/stargazers","contributors_url":"https://api.github.com/repos/ranjan/foreman/contributors","subscribers_url":"https://api.github.com/repos/ranjan/foreman/subscribers","subscription_url":"https://api.github.com/repos/ranjan/foreman/subscription","commits_url":"https://api.github.com/repos/ranjan/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/ranjan/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/ranjan/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/ranjan/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/ranjan/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/ranjan/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ranjan/foreman/merges","archive_url":"https://api.github.com/repos/ranjan/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ranjan/foreman/downloads","issues_url":"https://api.github.com/repos/ranjan/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/ranjan/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/ranjan/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/ranjan/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ranjan/foreman/labels{/name}","releases_url":"https://api.github.com/repos/ranjan/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/ranjan/foreman/deployments","created_at":"2015-08-17T10:15:10Z","updated_at":"2016-03-18T10:13:09Z","pushed_at":"2016-04-09T08:28:07Z","git_url":"git://github.com/ranjan/foreman.git","ssh_url":"git@github.com:ranjan/foreman.git","clone_url":"https://github.com/ranjan/foreman.git","svn_url":"https://github.com/ranjan/foreman","homepage":"http://theforeman.org","size":45039,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"8f9fdae35594632e94c73dcb5846d5409ebd34b9","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"name":"foreman","full_name":"theforeman/foreman","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman/deployments","created_at":"2009-07-23T15:07:00Z","updated_at":"2016-04-09T19:36:21Z","pushed_at":"2016-04-11T14:15:30Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":64720,"stargazers_count":981,"watchers_count":981,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":504,"mirror_url":null,"open_issues_count":74,"forks":504,"open_issues":74,"watchers":981,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/3345"},"html":{"href":"https://github.com/theforeman/foreman/pull/3345"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/3345"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/3345/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/3345/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/3345/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/8cc08074bea1ab11b8d66a72fb59392dd517a0a7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":7,"review_comments":1,"commits":1,"additions":14,"deletions":0,"changed_files":2}}