{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/v-swamy/myflix/pulls/13","id":37047741,"html_url":"https://github.com/v-swamy/myflix/pull/13","diff_url":"https://github.com/v-swamy/myflix/pull/13.diff","patch_url":"https://github.com/v-swamy/myflix/pull/13.patch","issue_url":"https://api.github.com/repos/v-swamy/myflix/issues/13","number":13,"state":"open","locked":false,"title":"PR for adding admin role","user":{"login":"v-swamy","id":10212214,"avatar_url":"https://avatars.githubusercontent.com/u/10212214?v=3","gravatar_id":"","url":"https://api.github.com/users/v-swamy","html_url":"https://github.com/v-swamy","followers_url":"https://api.github.com/users/v-swamy/followers","following_url":"https://api.github.com/users/v-swamy/following{/other_user}","gists_url":"https://api.github.com/users/v-swamy/gists{/gist_id}","starred_url":"https://api.github.com/users/v-swamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-swamy/subscriptions","organizations_url":"https://api.github.com/users/v-swamy/orgs","repos_url":"https://api.github.com/users/v-swamy/repos","events_url":"https://api.github.com/users/v-swamy/events{/privacy}","received_events_url":"https://api.github.com/users/v-swamy/received_events","type":"User","site_admin":false},"body":"Admin role added via admin namespace, new Admin::VideosController, and additional admin/videos/new view.  Migration created to add admin boolean column to users table.","created_at":"2015-06-05T16:32:41Z","updated_at":"2015-06-05T16:32:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/v-swamy/myflix/pulls/13/commits","review_comments_url":"https://api.github.com/repos/v-swamy/myflix/pulls/13/comments","review_comment_url":"https://api.github.com/repos/v-swamy/myflix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/v-swamy/myflix/issues/13/comments","statuses_url":"https://api.github.com/repos/v-swamy/myflix/statuses/575a4dc663e4b0429fe130c4b55c14a7b0dfd25b","head":{"label":"v-swamy:add_admin","ref":"add_admin","sha":"575a4dc663e4b0429fe130c4b55c14a7b0dfd25b","user":{"login":"v-swamy","id":10212214,"avatar_url":"https://avatars.githubusercontent.com/u/10212214?v=3","gravatar_id":"","url":"https://api.github.com/users/v-swamy","html_url":"https://github.com/v-swamy","followers_url":"https://api.github.com/users/v-swamy/followers","following_url":"https://api.github.com/users/v-swamy/following{/other_user}","gists_url":"https://api.github.com/users/v-swamy/gists{/gist_id}","starred_url":"https://api.github.com/users/v-swamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-swamy/subscriptions","organizations_url":"https://api.github.com/users/v-swamy/orgs","repos_url":"https://api.github.com/users/v-swamy/repos","events_url":"https://api.github.com/users/v-swamy/events{/privacy}","received_events_url":"https://api.github.com/users/v-swamy/received_events","type":"User","site_admin":false},"repo":{"id":31605155,"name":"myflix","full_name":"v-swamy/myflix","owner":{"login":"v-swamy","id":10212214,"avatar_url":"https://avatars.githubusercontent.com/u/10212214?v=3","gravatar_id":"","url":"https://api.github.com/users/v-swamy","html_url":"https://github.com/v-swamy","followers_url":"https://api.github.com/users/v-swamy/followers","following_url":"https://api.github.com/users/v-swamy/following{/other_user}","gists_url":"https://api.github.com/users/v-swamy/gists{/gist_id}","starred_url":"https://api.github.com/users/v-swamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-swamy/subscriptions","organizations_url":"https://api.github.com/users/v-swamy/orgs","repos_url":"https://api.github.com/users/v-swamy/repos","events_url":"https://api.github.com/users/v-swamy/events{/privacy}","received_events_url":"https://api.github.com/users/v-swamy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/v-swamy/myflix","description":"","fork":false,"url":"https://api.github.com/repos/v-swamy/myflix","forks_url":"https://api.github.com/repos/v-swamy/myflix/forks","keys_url":"https://api.github.com/repos/v-swamy/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v-swamy/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v-swamy/myflix/teams","hooks_url":"https://api.github.com/repos/v-swamy/myflix/hooks","issue_events_url":"https://api.github.com/repos/v-swamy/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/v-swamy/myflix/events","assignees_url":"https://api.github.com/repos/v-swamy/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/v-swamy/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/v-swamy/myflix/tags","blobs_url":"https://api.github.com/repos/v-swamy/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v-swamy/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v-swamy/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/v-swamy/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v-swamy/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/v-swamy/myflix/languages","stargazers_url":"https://api.github.com/repos/v-swamy/myflix/stargazers","contributors_url":"https://api.github.com/repos/v-swamy/myflix/contributors","subscribers_url":"https://api.github.com/repos/v-swamy/myflix/subscribers","subscription_url":"https://api.github.com/repos/v-swamy/myflix/subscription","commits_url":"https://api.github.com/repos/v-swamy/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/v-swamy/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/v-swamy/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/v-swamy/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/v-swamy/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/v-swamy/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v-swamy/myflix/merges","archive_url":"https://api.github.com/repos/v-swamy/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v-swamy/myflix/downloads","issues_url":"https://api.github.com/repos/v-swamy/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/v-swamy/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/v-swamy/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/v-swamy/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v-swamy/myflix/labels{/name}","releases_url":"https://api.github.com/repos/v-swamy/myflix/releases{/id}","created_at":"2015-03-03T15:22:50Z","updated_at":"2015-04-27T11:09:35Z","pushed_at":"2015-06-05T16:31:23Z","git_url":"git://github.com/v-swamy/myflix.git","ssh_url":"git@github.com:v-swamy/myflix.git","clone_url":"https://github.com/v-swamy/myflix.git","svn_url":"https://github.com/v-swamy/myflix","homepage":null,"size":604,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"v-swamy:staging","ref":"staging","sha":"ba2a384123edafee1b41b4f2fbf1bb9c5c64cf44","user":{"login":"v-swamy","id":10212214,"avatar_url":"https://avatars.githubusercontent.com/u/10212214?v=3","gravatar_id":"","url":"https://api.github.com/users/v-swamy","html_url":"https://github.com/v-swamy","followers_url":"https://api.github.com/users/v-swamy/followers","following_url":"https://api.github.com/users/v-swamy/following{/other_user}","gists_url":"https://api.github.com/users/v-swamy/gists{/gist_id}","starred_url":"https://api.github.com/users/v-swamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-swamy/subscriptions","organizations_url":"https://api.github.com/users/v-swamy/orgs","repos_url":"https://api.github.com/users/v-swamy/repos","events_url":"https://api.github.com/users/v-swamy/events{/privacy}","received_events_url":"https://api.github.com/users/v-swamy/received_events","type":"User","site_admin":false},"repo":{"id":31605155,"name":"myflix","full_name":"v-swamy/myflix","owner":{"login":"v-swamy","id":10212214,"avatar_url":"https://avatars.githubusercontent.com/u/10212214?v=3","gravatar_id":"","url":"https://api.github.com/users/v-swamy","html_url":"https://github.com/v-swamy","followers_url":"https://api.github.com/users/v-swamy/followers","following_url":"https://api.github.com/users/v-swamy/following{/other_user}","gists_url":"https://api.github.com/users/v-swamy/gists{/gist_id}","starred_url":"https://api.github.com/users/v-swamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-swamy/subscriptions","organizations_url":"https://api.github.com/users/v-swamy/orgs","repos_url":"https://api.github.com/users/v-swamy/repos","events_url":"https://api.github.com/users/v-swamy/events{/privacy}","received_events_url":"https://api.github.com/users/v-swamy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/v-swamy/myflix","description":"","fork":false,"url":"https://api.github.com/repos/v-swamy/myflix","forks_url":"https://api.github.com/repos/v-swamy/myflix/forks","keys_url":"https://api.github.com/repos/v-swamy/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v-swamy/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v-swamy/myflix/teams","hooks_url":"https://api.github.com/repos/v-swamy/myflix/hooks","issue_events_url":"https://api.github.com/repos/v-swamy/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/v-swamy/myflix/events","assignees_url":"https://api.github.com/repos/v-swamy/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/v-swamy/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/v-swamy/myflix/tags","blobs_url":"https://api.github.com/repos/v-swamy/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v-swamy/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v-swamy/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/v-swamy/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v-swamy/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/v-swamy/myflix/languages","stargazers_url":"https://api.github.com/repos/v-swamy/myflix/stargazers","contributors_url":"https://api.github.com/repos/v-swamy/myflix/contributors","subscribers_url":"https://api.github.com/repos/v-swamy/myflix/subscribers","subscription_url":"https://api.github.com/repos/v-swamy/myflix/subscription","commits_url":"https://api.github.com/repos/v-swamy/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/v-swamy/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/v-swamy/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/v-swamy/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/v-swamy/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/v-swamy/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v-swamy/myflix/merges","archive_url":"https://api.github.com/repos/v-swamy/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v-swamy/myflix/downloads","issues_url":"https://api.github.com/repos/v-swamy/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/v-swamy/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/v-swamy/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/v-swamy/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v-swamy/myflix/labels{/name}","releases_url":"https://api.github.com/repos/v-swamy/myflix/releases{/id}","created_at":"2015-03-03T15:22:50Z","updated_at":"2015-04-27T11:09:35Z","pushed_at":"2015-06-05T16:31:23Z","git_url":"git://github.com/v-swamy/myflix.git","ssh_url":"git@github.com:v-swamy/myflix.git","clone_url":"https://github.com/v-swamy/myflix.git","svn_url":"https://github.com/v-swamy/myflix","homepage":null,"size":604,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/v-swamy/myflix/pulls/13"},"html":{"href":"https://github.com/v-swamy/myflix/pull/13"},"issue":{"href":"https://api.github.com/repos/v-swamy/myflix/issues/13"},"comments":{"href":"https://api.github.com/repos/v-swamy/myflix/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/v-swamy/myflix/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/v-swamy/myflix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/v-swamy/myflix/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/v-swamy/myflix/statuses/575a4dc663e4b0429fe130c4b55c14a7b0dfd25b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":93,"deletions":1,"changed_files":8}}