{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls/4","id":58549615,"html_url":"https://github.com/KaterinaSav/Social-Network-Interests/pull/4","diff_url":"https://github.com/KaterinaSav/Social-Network-Interests/pull/4.diff","patch_url":"https://github.com/KaterinaSav/Social-Network-Interests/pull/4.patch","issue_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues/4","number":4,"state":"open","locked":false,"title":"add roles to user. admin can edit and destroy another users","user":{"login":"KaterinaSav","id":7300813,"avatar_url":"https://avatars.githubusercontent.com/u/7300813?v=3","gravatar_id":"","url":"https://api.github.com/users/KaterinaSav","html_url":"https://github.com/KaterinaSav","followers_url":"https://api.github.com/users/KaterinaSav/followers","following_url":"https://api.github.com/users/KaterinaSav/following{/other_user}","gists_url":"https://api.github.com/users/KaterinaSav/gists{/gist_id}","starred_url":"https://api.github.com/users/KaterinaSav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaterinaSav/subscriptions","organizations_url":"https://api.github.com/users/KaterinaSav/orgs","repos_url":"https://api.github.com/users/KaterinaSav/repos","events_url":"https://api.github.com/users/KaterinaSav/events{/privacy}","received_events_url":"https://api.github.com/users/KaterinaSav/received_events","type":"User","site_admin":false},"body":"add roles to user. admin can edit and destroy another users","created_at":"2016-02-07T16:04:08Z","updated_at":"2016-02-07T16:04:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9f88a1be597519d45dca6ecd9191cef42b6fb3d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls/4/commits","review_comments_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls/4/comments","review_comment_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues/4/comments","statuses_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/statuses/fb354c1a6b0753b6d642990a34cd0a3b63ddb317","head":{"label":"KaterinaSav:users_roles","ref":"users_roles","sha":"fb354c1a6b0753b6d642990a34cd0a3b63ddb317","user":{"login":"KaterinaSav","id":7300813,"avatar_url":"https://avatars.githubusercontent.com/u/7300813?v=3","gravatar_id":"","url":"https://api.github.com/users/KaterinaSav","html_url":"https://github.com/KaterinaSav","followers_url":"https://api.github.com/users/KaterinaSav/followers","following_url":"https://api.github.com/users/KaterinaSav/following{/other_user}","gists_url":"https://api.github.com/users/KaterinaSav/gists{/gist_id}","starred_url":"https://api.github.com/users/KaterinaSav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaterinaSav/subscriptions","organizations_url":"https://api.github.com/users/KaterinaSav/orgs","repos_url":"https://api.github.com/users/KaterinaSav/repos","events_url":"https://api.github.com/users/KaterinaSav/events{/privacy}","received_events_url":"https://api.github.com/users/KaterinaSav/received_events","type":"User","site_admin":false},"repo":{"id":50676288,"name":"Social-Network-Interests","full_name":"KaterinaSav/Social-Network-Interests","owner":{"login":"KaterinaSav","id":7300813,"avatar_url":"https://avatars.githubusercontent.com/u/7300813?v=3","gravatar_id":"","url":"https://api.github.com/users/KaterinaSav","html_url":"https://github.com/KaterinaSav","followers_url":"https://api.github.com/users/KaterinaSav/followers","following_url":"https://api.github.com/users/KaterinaSav/following{/other_user}","gists_url":"https://api.github.com/users/KaterinaSav/gists{/gist_id}","starred_url":"https://api.github.com/users/KaterinaSav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaterinaSav/subscriptions","organizations_url":"https://api.github.com/users/KaterinaSav/orgs","repos_url":"https://api.github.com/users/KaterinaSav/repos","events_url":"https://api.github.com/users/KaterinaSav/events{/privacy}","received_events_url":"https://api.github.com/users/KaterinaSav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KaterinaSav/Social-Network-Interests","description":"Ruby on Rails application","fork":false,"url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests","forks_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/forks","keys_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/teams","hooks_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/hooks","issue_events_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues/events{/number}","events_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/events","assignees_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/assignees{/user}","branches_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/branches{/branch}","tags_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/tags","blobs_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/statuses/{sha}","languages_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/languages","stargazers_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/stargazers","contributors_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/contributors","subscribers_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/subscribers","subscription_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/subscription","commits_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/contents/{+path}","compare_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/merges","archive_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/downloads","issues_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues{/number}","pulls_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls{/number}","milestones_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/milestones{/number}","notifications_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/labels{/name}","releases_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/releases{/id}","deployments_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/deployments","created_at":"2016-01-29T16:46:42Z","updated_at":"2016-02-06T22:47:11Z","pushed_at":"2016-02-07T16:04:08Z","git_url":"git://github.com/KaterinaSav/Social-Network-Interests.git","ssh_url":"git@github.com:KaterinaSav/Social-Network-Interests.git","clone_url":"https://github.com/KaterinaSav/Social-Network-Interests.git","svn_url":"https://github.com/KaterinaSav/Social-Network-Interests","homepage":null,"size":116,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KaterinaSav:master","ref":"master","sha":"24f1e2d1125e8a7d217dd275342539c1a5caa06b","user":{"login":"KaterinaSav","id":7300813,"avatar_url":"https://avatars.githubusercontent.com/u/7300813?v=3","gravatar_id":"","url":"https://api.github.com/users/KaterinaSav","html_url":"https://github.com/KaterinaSav","followers_url":"https://api.github.com/users/KaterinaSav/followers","following_url":"https://api.github.com/users/KaterinaSav/following{/other_user}","gists_url":"https://api.github.com/users/KaterinaSav/gists{/gist_id}","starred_url":"https://api.github.com/users/KaterinaSav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaterinaSav/subscriptions","organizations_url":"https://api.github.com/users/KaterinaSav/orgs","repos_url":"https://api.github.com/users/KaterinaSav/repos","events_url":"https://api.github.com/users/KaterinaSav/events{/privacy}","received_events_url":"https://api.github.com/users/KaterinaSav/received_events","type":"User","site_admin":false},"repo":{"id":50676288,"name":"Social-Network-Interests","full_name":"KaterinaSav/Social-Network-Interests","owner":{"login":"KaterinaSav","id":7300813,"avatar_url":"https://avatars.githubusercontent.com/u/7300813?v=3","gravatar_id":"","url":"https://api.github.com/users/KaterinaSav","html_url":"https://github.com/KaterinaSav","followers_url":"https://api.github.com/users/KaterinaSav/followers","following_url":"https://api.github.com/users/KaterinaSav/following{/other_user}","gists_url":"https://api.github.com/users/KaterinaSav/gists{/gist_id}","starred_url":"https://api.github.com/users/KaterinaSav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaterinaSav/subscriptions","organizations_url":"https://api.github.com/users/KaterinaSav/orgs","repos_url":"https://api.github.com/users/KaterinaSav/repos","events_url":"https://api.github.com/users/KaterinaSav/events{/privacy}","received_events_url":"https://api.github.com/users/KaterinaSav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KaterinaSav/Social-Network-Interests","description":"Ruby on Rails application","fork":false,"url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests","forks_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/forks","keys_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/teams","hooks_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/hooks","issue_events_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues/events{/number}","events_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/events","assignees_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/assignees{/user}","branches_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/branches{/branch}","tags_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/tags","blobs_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/statuses/{sha}","languages_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/languages","stargazers_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/stargazers","contributors_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/contributors","subscribers_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/subscribers","subscription_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/subscription","commits_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/contents/{+path}","compare_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/merges","archive_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/downloads","issues_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues{/number}","pulls_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls{/number}","milestones_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/milestones{/number}","notifications_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/labels{/name}","releases_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/releases{/id}","deployments_url":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/deployments","created_at":"2016-01-29T16:46:42Z","updated_at":"2016-02-06T22:47:11Z","pushed_at":"2016-02-07T16:04:08Z","git_url":"git://github.com/KaterinaSav/Social-Network-Interests.git","ssh_url":"git@github.com:KaterinaSav/Social-Network-Interests.git","clone_url":"https://github.com/KaterinaSav/Social-Network-Interests.git","svn_url":"https://github.com/KaterinaSav/Social-Network-Interests","homepage":null,"size":116,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls/4"},"html":{"href":"https://github.com/KaterinaSav/Social-Network-Interests/pull/4"},"issue":{"href":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues/4"},"comments":{"href":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/KaterinaSav/Social-Network-Interests/statuses/fb354c1a6b0753b6d642990a34cd0a3b63ddb317"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":104,"deletions":10,"changed_files":13}}