{"action":"opened","number":359,"pull_request":{"url":"https://api.github.com/repos/drone/docs/pulls/359","id":209087332,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MDg3MzMy","html_url":"https://github.com/drone/docs/pull/359","diff_url":"https://github.com/drone/docs/pull/359.diff","patch_url":"https://github.com/drone/docs/pull/359.patch","issue_url":"https://api.github.com/repos/drone/docs/issues/359","number":359,"state":"open","locked":false,"title":"Add scope hint to GitLab Registration","user":{"login":"xiaoyufan","id":15053186,"node_id":"MDQ6VXNlcjE1MDUzMTg2","avatar_url":"https://avatars0.githubusercontent.com/u/15053186?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoyufan","html_url":"https://github.com/xiaoyufan","followers_url":"https://api.github.com/users/xiaoyufan/followers","following_url":"https://api.github.com/users/xiaoyufan/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyufan/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyufan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyufan/subscriptions","organizations_url":"https://api.github.com/users/xiaoyufan/orgs","repos_url":"https://api.github.com/users/xiaoyufan/repos","events_url":"https://api.github.com/users/xiaoyufan/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyufan/received_events","type":"User","site_admin":false},"body":"As suggested in https://discourse.drone.io/t/authentication-failure-with-gitlab/539/2, `api` scope needs to be granted to application registered in GitLab.","created_at":"2018-08-17T09:05:11Z","updated_at":"2018-08-17T09:05:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/drone/docs/pulls/359/commits","review_comments_url":"https://api.github.com/repos/drone/docs/pulls/359/comments","review_comment_url":"https://api.github.com/repos/drone/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drone/docs/issues/359/comments","statuses_url":"https://api.github.com/repos/drone/docs/statuses/a4e7ff0f43ff25fa7cbee442efffee86c79790d9","head":{"label":"xiaoyufan:patch-1","ref":"patch-1","sha":"a4e7ff0f43ff25fa7cbee442efffee86c79790d9","user":{"login":"xiaoyufan","id":15053186,"node_id":"MDQ6VXNlcjE1MDUzMTg2","avatar_url":"https://avatars0.githubusercontent.com/u/15053186?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoyufan","html_url":"https://github.com/xiaoyufan","followers_url":"https://api.github.com/users/xiaoyufan/followers","following_url":"https://api.github.com/users/xiaoyufan/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyufan/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyufan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyufan/subscriptions","organizations_url":"https://api.github.com/users/xiaoyufan/orgs","repos_url":"https://api.github.com/users/xiaoyufan/repos","events_url":"https://api.github.com/users/xiaoyufan/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyufan/received_events","type":"User","site_admin":false},"repo":{"id":145097682,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUwOTc2ODI=","name":"docs","full_name":"xiaoyufan/docs","owner":{"login":"xiaoyufan","id":15053186,"node_id":"MDQ6VXNlcjE1MDUzMTg2","avatar_url":"https://avatars0.githubusercontent.com/u/15053186?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoyufan","html_url":"https://github.com/xiaoyufan","followers_url":"https://api.github.com/users/xiaoyufan/followers","following_url":"https://api.github.com/users/xiaoyufan/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyufan/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyufan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyufan/subscriptions","organizations_url":"https://api.github.com/users/xiaoyufan/orgs","repos_url":"https://api.github.com/users/xiaoyufan/repos","events_url":"https://api.github.com/users/xiaoyufan/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyufan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xiaoyufan/docs","description":"documentation for the Drone Continuous Integration project","fork":true,"url":"https://api.github.com/repos/xiaoyufan/docs","forks_url":"https://api.github.com/repos/xiaoyufan/docs/forks","keys_url":"https://api.github.com/repos/xiaoyufan/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xiaoyufan/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xiaoyufan/docs/teams","hooks_url":"https://api.github.com/repos/xiaoyufan/docs/hooks","issue_events_url":"https://api.github.com/repos/xiaoyufan/docs/issues/events{/number}","events_url":"https://api.github.com/repos/xiaoyufan/docs/events","assignees_url":"https://api.github.com/repos/xiaoyufan/docs/assignees{/user}","branches_url":"https://api.github.com/repos/xiaoyufan/docs/branches{/branch}","tags_url":"https://api.github.com/repos/xiaoyufan/docs/tags","blobs_url":"https://api.github.com/repos/xiaoyufan/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xiaoyufan/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xiaoyufan/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/xiaoyufan/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xiaoyufan/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/xiaoyufan/docs/languages","stargazers_url":"https://api.github.com/repos/xiaoyufan/docs/stargazers","contributors_url":"https://api.github.com/repos/xiaoyufan/docs/contributors","subscribers_url":"https://api.github.com/repos/xiaoyufan/docs/subscribers","subscription_url":"https://api.github.com/repos/xiaoyufan/docs/subscription","commits_url":"https://api.github.com/repos/xiaoyufan/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/xiaoyufan/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/xiaoyufan/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/xiaoyufan/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/xiaoyufan/docs/contents/{+path}","compare_url":"https://api.github.com/repos/xiaoyufan/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xiaoyufan/docs/merges","archive_url":"https://api.github.com/repos/xiaoyufan/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xiaoyufan/docs/downloads","issues_url":"https://api.github.com/repos/xiaoyufan/docs/issues{/number}","pulls_url":"https://api.github.com/repos/xiaoyufan/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/xiaoyufan/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/xiaoyufan/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xiaoyufan/docs/labels{/name}","releases_url":"https://api.github.com/repos/xiaoyufan/docs/releases{/id}","deployments_url":"https://api.github.com/repos/xiaoyufan/docs/deployments","created_at":"2018-08-17T09:00:16Z","updated_at":"2018-08-17T09:00:18Z","pushed_at":"2018-08-17T09:03:21Z","git_url":"git://github.com/xiaoyufan/docs.git","ssh_url":"git@github.com:xiaoyufan/docs.git","clone_url":"https://github.com/xiaoyufan/docs.git","svn_url":"https://github.com/xiaoyufan/docs","homepage":null,"size":2584,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"drone:master","ref":"master","sha":"d8c0c5caa23a8d262b725886092039b3d7e30175","user":{"login":"drone","id":2181346,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxODEzNDY=","avatar_url":"https://avatars1.githubusercontent.com/u/2181346?v=4","gravatar_id":"","url":"https://api.github.com/users/drone","html_url":"https://github.com/drone","followers_url":"https://api.github.com/users/drone/followers","following_url":"https://api.github.com/users/drone/following{/other_user}","gists_url":"https://api.github.com/users/drone/gists{/gist_id}","starred_url":"https://api.github.com/users/drone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drone/subscriptions","organizations_url":"https://api.github.com/users/drone/orgs","repos_url":"https://api.github.com/users/drone/repos","events_url":"https://api.github.com/users/drone/events{/privacy}","received_events_url":"https://api.github.com/users/drone/received_events","type":"Organization","site_admin":false},"repo":{"id":16606316,"node_id":"MDEwOlJlcG9zaXRvcnkxNjYwNjMxNg==","name":"docs","full_name":"drone/docs","owner":{"login":"drone","id":2181346,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxODEzNDY=","avatar_url":"https://avatars1.githubusercontent.com/u/2181346?v=4","gravatar_id":"","url":"https://api.github.com/users/drone","html_url":"https://github.com/drone","followers_url":"https://api.github.com/users/drone/followers","following_url":"https://api.github.com/users/drone/following{/other_user}","gists_url":"https://api.github.com/users/drone/gists{/gist_id}","starred_url":"https://api.github.com/users/drone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drone/subscriptions","organizations_url":"https://api.github.com/users/drone/orgs","repos_url":"https://api.github.com/users/drone/repos","events_url":"https://api.github.com/users/drone/events{/privacy}","received_events_url":"https://api.github.com/users/drone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/drone/docs","description":"documentation for the Drone Continuous Integration project","fork":false,"url":"https://api.github.com/repos/drone/docs","forks_url":"https://api.github.com/repos/drone/docs/forks","keys_url":"https://api.github.com/repos/drone/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drone/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drone/docs/teams","hooks_url":"https://api.github.com/repos/drone/docs/hooks","issue_events_url":"https://api.github.com/repos/drone/docs/issues/events{/number}","events_url":"https://api.github.com/repos/drone/docs/events","assignees_url":"https://api.github.com/repos/drone/docs/assignees{/user}","branches_url":"https://api.github.com/repos/drone/docs/branches{/branch}","tags_url":"https://api.github.com/repos/drone/docs/tags","blobs_url":"https://api.github.com/repos/drone/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drone/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drone/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/drone/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drone/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/drone/docs/languages","stargazers_url":"https://api.github.com/repos/drone/docs/stargazers","contributors_url":"https://api.github.com/repos/drone/docs/contributors","subscribers_url":"https://api.github.com/repos/drone/docs/subscribers","subscription_url":"https://api.github.com/repos/drone/docs/subscription","commits_url":"https://api.github.com/repos/drone/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/drone/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/drone/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/drone/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/drone/docs/contents/{+path}","compare_url":"https://api.github.com/repos/drone/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drone/docs/merges","archive_url":"https://api.github.com/repos/drone/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drone/docs/downloads","issues_url":"https://api.github.com/repos/drone/docs/issues{/number}","pulls_url":"https://api.github.com/repos/drone/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/drone/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/drone/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drone/docs/labels{/name}","releases_url":"https://api.github.com/repos/drone/docs/releases{/id}","deployments_url":"https://api.github.com/repos/drone/docs/deployments","created_at":"2014-02-07T06:27:21Z","updated_at":"2018-08-17T04:04:39Z","pushed_at":"2018-08-17T01:22:31Z","git_url":"git://github.com/drone/docs.git","ssh_url":"git@github.com:drone/docs.git","clone_url":"https://github.com/drone/docs.git","svn_url":"https://github.com/drone/docs","homepage":null,"size":2584,"stargazers_count":51,"watchers_count":51,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":89,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":89,"open_issues":45,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drone/docs/pulls/359"},"html":{"href":"https://github.com/drone/docs/pull/359"},"issue":{"href":"https://api.github.com/repos/drone/docs/issues/359"},"comments":{"href":"https://api.github.com/repos/drone/docs/issues/359/comments"},"review_comments":{"href":"https://api.github.com/repos/drone/docs/pulls/359/comments"},"review_comment":{"href":"https://api.github.com/repos/drone/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drone/docs/pulls/359/commits"},"statuses":{"href":"https://api.github.com/repos/drone/docs/statuses/a4e7ff0f43ff25fa7cbee442efffee86c79790d9"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"xiaoyufan"}}