{"action":"closed","number":103,"pull_request":{"url":"https://api.github.com/repos/teambition/teambition-sdk/pulls/103","id":79865858,"html_url":"https://github.com/teambition/teambition-sdk/pull/103","diff_url":"https://github.com/teambition/teambition-sdk/pull/103.diff","patch_url":"https://github.com/teambition/teambition-sdk/pull/103.patch","issue_url":"https://api.github.com/repos/teambition/teambition-sdk/issues/103","number":103,"state":"closed","locked":false,"title":"FEATURE(apis/role): 增加了 role 相关的 API 与测试","user":{"login":"Brooooooklyn","id":3468483,"avatar_url":"https://avatars.githubusercontent.com/u/3468483?v=3","gravatar_id":"","url":"https://api.github.com/users/Brooooooklyn","html_url":"https://github.com/Brooooooklyn","followers_url":"https://api.github.com/users/Brooooooklyn/followers","following_url":"https://api.github.com/users/Brooooooklyn/following{/other_user}","gists_url":"https://api.github.com/users/Brooooooklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Brooooooklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brooooooklyn/subscriptions","organizations_url":"https://api.github.com/users/Brooooooklyn/orgs","repos_url":"https://api.github.com/users/Brooooooklyn/repos","events_url":"https://api.github.com/users/Brooooooklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Brooooooklyn/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-03T08:23:54Z","updated_at":"2016-08-03T08:33:15Z","closed_at":"2016-08-03T08:33:15Z","merged_at":"2016-08-03T08:33:15Z","merge_commit_sha":"cca81696e836cfb8634915903bf3f2e54e6ec7ec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/teambition/teambition-sdk/pulls/103/commits","review_comments_url":"https://api.github.com/repos/teambition/teambition-sdk/pulls/103/comments","review_comment_url":"https://api.github.com/repos/teambition/teambition-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teambition/teambition-sdk/issues/103/comments","statuses_url":"https://api.github.com/repos/teambition/teambition-sdk/statuses/13df495de5c2a2b2c5f76dd406b03113af655231","head":{"label":"teambition:feature/role-api","ref":"feature/role-api","sha":"13df495de5c2a2b2c5f76dd406b03113af655231","user":{"login":"teambition","id":1983116,"avatar_url":"https://avatars.githubusercontent.com/u/1983116?v=3","gravatar_id":"","url":"https://api.github.com/users/teambition","html_url":"https://github.com/teambition","followers_url":"https://api.github.com/users/teambition/followers","following_url":"https://api.github.com/users/teambition/following{/other_user}","gists_url":"https://api.github.com/users/teambition/gists{/gist_id}","starred_url":"https://api.github.com/users/teambition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teambition/subscriptions","organizations_url":"https://api.github.com/users/teambition/orgs","repos_url":"https://api.github.com/users/teambition/repos","events_url":"https://api.github.com/users/teambition/events{/privacy}","received_events_url":"https://api.github.com/users/teambition/received_events","type":"Organization","site_admin":false},"repo":{"id":48221935,"name":"teambition-sdk","full_name":"teambition/teambition-sdk","owner":{"login":"teambition","id":1983116,"avatar_url":"https://avatars.githubusercontent.com/u/1983116?v=3","gravatar_id":"","url":"https://api.github.com/users/teambition","html_url":"https://github.com/teambition","followers_url":"https://api.github.com/users/teambition/followers","following_url":"https://api.github.com/users/teambition/following{/other_user}","gists_url":"https://api.github.com/users/teambition/gists{/gist_id}","starred_url":"https://api.github.com/users/teambition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teambition/subscriptions","organizations_url":"https://api.github.com/users/teambition/orgs","repos_url":"https://api.github.com/users/teambition/repos","events_url":"https://api.github.com/users/teambition/events{/privacy}","received_events_url":"https://api.github.com/users/teambition/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teambition/teambition-sdk","description":"Isomorphic JavaScript SDK for Teambition APIs","fork":false,"url":"https://api.github.com/repos/teambition/teambition-sdk","forks_url":"https://api.github.com/repos/teambition/teambition-sdk/forks","keys_url":"https://api.github.com/repos/teambition/teambition-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teambition/teambition-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teambition/teambition-sdk/teams","hooks_url":"https://api.github.com/repos/teambition/teambition-sdk/hooks","issue_events_url":"https://api.github.com/repos/teambition/teambition-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/teambition/teambition-sdk/events","assignees_url":"https://api.github.com/repos/teambition/teambition-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/teambition/teambition-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/teambition/teambition-sdk/tags","blobs_url":"https://api.github.com/repos/teambition/teambition-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teambition/teambition-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teambition/teambition-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/teambition/teambition-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teambition/teambition-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/teambition/teambition-sdk/languages","stargazers_url":"https://api.github.com/repos/teambition/teambition-sdk/stargazers","contributors_url":"https://api.github.com/repos/teambition/teambition-sdk/contributors","subscribers_url":"https://api.github.com/repos/teambition/teambition-sdk/subscribers","subscription_url":"https://api.github.com/repos/teambition/teambition-sdk/subscription","commits_url":"https://api.github.com/repos/teambition/teambition-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/teambition/teambition-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/teambition/teambition-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/teambition/teambition-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/teambition/teambition-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/teambition/teambition-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teambition/teambition-sdk/merges","archive_url":"https://api.github.com/repos/teambition/teambition-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teambition/teambition-sdk/downloads","issues_url":"https://api.github.com/repos/teambition/teambition-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/teambition/teambition-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/teambition/teambition-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/teambition/teambition-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teambition/teambition-sdk/labels{/name}","releases_url":"https://api.github.com/repos/teambition/teambition-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/teambition/teambition-sdk/deployments","created_at":"2015-12-18T07:52:09Z","updated_at":"2016-07-21T19:53:48Z","pushed_at":"2016-08-03T08:33:16Z","git_url":"git://github.com/teambition/teambition-sdk.git","ssh_url":"git@github.com:teambition/teambition-sdk.git","clone_url":"https://github.com/teambition/teambition-sdk.git","svn_url":"https://github.com/teambition/teambition-sdk","homepage":"","size":915,"stargazers_count":13,"watchers_count":13,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":13,"default_branch":"master"}},"base":{"label":"teambition:master","ref":"master","sha":"93999677b76c0d6fc09fdb4cd4929917b67a1932","user":{"login":"teambition","id":1983116,"avatar_url":"https://avatars.githubusercontent.com/u/1983116?v=3","gravatar_id":"","url":"https://api.github.com/users/teambition","html_url":"https://github.com/teambition","followers_url":"https://api.github.com/users/teambition/followers","following_url":"https://api.github.com/users/teambition/following{/other_user}","gists_url":"https://api.github.com/users/teambition/gists{/gist_id}","starred_url":"https://api.github.com/users/teambition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teambition/subscriptions","organizations_url":"https://api.github.com/users/teambition/orgs","repos_url":"https://api.github.com/users/teambition/repos","events_url":"https://api.github.com/users/teambition/events{/privacy}","received_events_url":"https://api.github.com/users/teambition/received_events","type":"Organization","site_admin":false},"repo":{"id":48221935,"name":"teambition-sdk","full_name":"teambition/teambition-sdk","owner":{"login":"teambition","id":1983116,"avatar_url":"https://avatars.githubusercontent.com/u/1983116?v=3","gravatar_id":"","url":"https://api.github.com/users/teambition","html_url":"https://github.com/teambition","followers_url":"https://api.github.com/users/teambition/followers","following_url":"https://api.github.com/users/teambition/following{/other_user}","gists_url":"https://api.github.com/users/teambition/gists{/gist_id}","starred_url":"https://api.github.com/users/teambition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teambition/subscriptions","organizations_url":"https://api.github.com/users/teambition/orgs","repos_url":"https://api.github.com/users/teambition/repos","events_url":"https://api.github.com/users/teambition/events{/privacy}","received_events_url":"https://api.github.com/users/teambition/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teambition/teambition-sdk","description":"Isomorphic JavaScript SDK for Teambition APIs","fork":false,"url":"https://api.github.com/repos/teambition/teambition-sdk","forks_url":"https://api.github.com/repos/teambition/teambition-sdk/forks","keys_url":"https://api.github.com/repos/teambition/teambition-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teambition/teambition-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teambition/teambition-sdk/teams","hooks_url":"https://api.github.com/repos/teambition/teambition-sdk/hooks","issue_events_url":"https://api.github.com/repos/teambition/teambition-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/teambition/teambition-sdk/events","assignees_url":"https://api.github.com/repos/teambition/teambition-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/teambition/teambition-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/teambition/teambition-sdk/tags","blobs_url":"https://api.github.com/repos/teambition/teambition-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teambition/teambition-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teambition/teambition-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/teambition/teambition-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teambition/teambition-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/teambition/teambition-sdk/languages","stargazers_url":"https://api.github.com/repos/teambition/teambition-sdk/stargazers","contributors_url":"https://api.github.com/repos/teambition/teambition-sdk/contributors","subscribers_url":"https://api.github.com/repos/teambition/teambition-sdk/subscribers","subscription_url":"https://api.github.com/repos/teambition/teambition-sdk/subscription","commits_url":"https://api.github.com/repos/teambition/teambition-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/teambition/teambition-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/teambition/teambition-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/teambition/teambition-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/teambition/teambition-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/teambition/teambition-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teambition/teambition-sdk/merges","archive_url":"https://api.github.com/repos/teambition/teambition-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teambition/teambition-sdk/downloads","issues_url":"https://api.github.com/repos/teambition/teambition-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/teambition/teambition-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/teambition/teambition-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/teambition/teambition-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teambition/teambition-sdk/labels{/name}","releases_url":"https://api.github.com/repos/teambition/teambition-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/teambition/teambition-sdk/deployments","created_at":"2015-12-18T07:52:09Z","updated_at":"2016-07-21T19:53:48Z","pushed_at":"2016-08-03T08:33:16Z","git_url":"git://github.com/teambition/teambition-sdk.git","ssh_url":"git@github.com:teambition/teambition-sdk.git","clone_url":"https://github.com/teambition/teambition-sdk.git","svn_url":"https://github.com/teambition/teambition-sdk","homepage":"","size":915,"stargazers_count":13,"watchers_count":13,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teambition/teambition-sdk/pulls/103"},"html":{"href":"https://github.com/teambition/teambition-sdk/pull/103"},"issue":{"href":"https://api.github.com/repos/teambition/teambition-sdk/issues/103"},"comments":{"href":"https://api.github.com/repos/teambition/teambition-sdk/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/teambition/teambition-sdk/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/teambition/teambition-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teambition/teambition-sdk/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/teambition/teambition-sdk/statuses/13df495de5c2a2b2c5f76dd406b03113af655231"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Brooooooklyn","id":3468483,"avatar_url":"https://avatars.githubusercontent.com/u/3468483?v=3","gravatar_id":"","url":"https://api.github.com/users/Brooooooklyn","html_url":"https://github.com/Brooooooklyn","followers_url":"https://api.github.com/users/Brooooooklyn/followers","following_url":"https://api.github.com/users/Brooooooklyn/following{/other_user}","gists_url":"https://api.github.com/users/Brooooooklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Brooooooklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brooooooklyn/subscriptions","organizations_url":"https://api.github.com/users/Brooooooklyn/orgs","repos_url":"https://api.github.com/users/Brooooooklyn/repos","events_url":"https://api.github.com/users/Brooooooklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Brooooooklyn/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":683,"deletions":4,"changed_files":15}}
{"actor":{"display_login":"Brooooooklyn"}}