{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/konnectors/cozy-konnector-google/pulls/22","id":177988415,"html_url":"https://github.com/konnectors/cozy-konnector-google/pull/22","diff_url":"https://github.com/konnectors/cozy-konnector-google/pull/22.diff","patch_url":"https://github.com/konnectors/cozy-konnector-google/pull/22.patch","issue_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/issues/22","number":22,"state":"open","locked":false,"title":"feat: Add information to solidify the link","user":{"login":"enguerran","id":701648,"avatar_url":"https://avatars1.githubusercontent.com/u/701648?v=4","gravatar_id":"","url":"https://api.github.com/users/enguerran","html_url":"https://github.com/enguerran","followers_url":"https://api.github.com/users/enguerran/followers","following_url":"https://api.github.com/users/enguerran/following{/other_user}","gists_url":"https://api.github.com/users/enguerran/gists{/gist_id}","starred_url":"https://api.github.com/users/enguerran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enguerran/subscriptions","organizations_url":"https://api.github.com/users/enguerran/orgs","repos_url":"https://api.github.com/users/enguerran/repos","events_url":"https://api.github.com/users/enguerran/events{/privacy}","received_events_url":"https://api.github.com/users/enguerran/received_events","type":"User","site_admin":false},"body":"_To anticipate this renovate's Pull Request (https://github.com/konnectors/cozy-konnector-google/pull/13), I rebased this dev branch on it. But it appears that renovate works too fast for me, so I had to close the #13 PR. But I don't want to lose time rebasing this PR without the 2 commits added by #13, so they are included with my work._\n\nThis PR add information from google user's account to solidify the link with the `io.cozy.contacts`. So I added some `metadata` and an account's email by using a second API.\n\nI was asking myself if it could be a good idea to keep the `resourceName` string as the unique reference and so using something like `resourceName = `${accountEmail}:${resourceName}`. What do you think about?","created_at":"2018-03-28T10:05:11Z","updated_at":"2018-03-28T10: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/konnectors/cozy-konnector-google/pulls/22/commits","review_comments_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/pulls/22/comments","review_comment_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/pulls/comments{/number}","comments_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/issues/22/comments","statuses_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/statuses/76e248018558ec0648069f0c1f3587f8b63add18","head":{"label":"enguerran:feat.resync","ref":"feat.resync","sha":"76e248018558ec0648069f0c1f3587f8b63add18","user":{"login":"enguerran","id":701648,"avatar_url":"https://avatars1.githubusercontent.com/u/701648?v=4","gravatar_id":"","url":"https://api.github.com/users/enguerran","html_url":"https://github.com/enguerran","followers_url":"https://api.github.com/users/enguerran/followers","following_url":"https://api.github.com/users/enguerran/following{/other_user}","gists_url":"https://api.github.com/users/enguerran/gists{/gist_id}","starred_url":"https://api.github.com/users/enguerran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enguerran/subscriptions","organizations_url":"https://api.github.com/users/enguerran/orgs","repos_url":"https://api.github.com/users/enguerran/repos","events_url":"https://api.github.com/users/enguerran/events{/privacy}","received_events_url":"https://api.github.com/users/enguerran/received_events","type":"User","site_admin":false},"repo":{"id":125986306,"name":"cozy-konnector-google-contacts","full_name":"enguerran/cozy-konnector-google-contacts","owner":{"login":"enguerran","id":701648,"avatar_url":"https://avatars1.githubusercontent.com/u/701648?v=4","gravatar_id":"","url":"https://api.github.com/users/enguerran","html_url":"https://github.com/enguerran","followers_url":"https://api.github.com/users/enguerran/followers","following_url":"https://api.github.com/users/enguerran/following{/other_user}","gists_url":"https://api.github.com/users/enguerran/gists{/gist_id}","starred_url":"https://api.github.com/users/enguerran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enguerran/subscriptions","organizations_url":"https://api.github.com/users/enguerran/orgs","repos_url":"https://api.github.com/users/enguerran/repos","events_url":"https://api.github.com/users/enguerran/events{/privacy}","received_events_url":"https://api.github.com/users/enguerran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enguerran/cozy-konnector-google-contacts","description":null,"fork":true,"url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts","forks_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/forks","keys_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/teams","hooks_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/hooks","issue_events_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/issues/events{/number}","events_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/events","assignees_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/assignees{/user}","branches_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/branches{/branch}","tags_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/tags","blobs_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/git/refs{/sha}","trees_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/statuses/{sha}","languages_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/languages","stargazers_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/stargazers","contributors_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/contributors","subscribers_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/subscribers","subscription_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/subscription","commits_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/commits{/sha}","git_commits_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/git/commits{/sha}","comments_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/comments{/number}","issue_comment_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/issues/comments{/number}","contents_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/contents/{+path}","compare_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/merges","archive_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/downloads","issues_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/issues{/number}","pulls_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/pulls{/number}","milestones_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/milestones{/number}","notifications_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/labels{/name}","releases_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/releases{/id}","deployments_url":"https://api.github.com/repos/enguerran/cozy-konnector-google-contacts/deployments","created_at":"2018-03-20T08:41:29Z","updated_at":"2018-03-20T14:37:02Z","pushed_at":"2018-03-28T09:58:27Z","git_url":"git://github.com/enguerran/cozy-konnector-google-contacts.git","ssh_url":"git@github.com:enguerran/cozy-konnector-google-contacts.git","clone_url":"https://github.com/enguerran/cozy-konnector-google-contacts.git","svn_url":"https://github.com/enguerran/cozy-konnector-google-contacts","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"konnectors:master","ref":"master","sha":"db6db2b2890d5d754d429a2d6c5c6a393ed28f79","user":{"login":"konnectors","id":35696401,"avatar_url":"https://avatars2.githubusercontent.com/u/35696401?v=4","gravatar_id":"","url":"https://api.github.com/users/konnectors","html_url":"https://github.com/konnectors","followers_url":"https://api.github.com/users/konnectors/followers","following_url":"https://api.github.com/users/konnectors/following{/other_user}","gists_url":"https://api.github.com/users/konnectors/gists{/gist_id}","starred_url":"https://api.github.com/users/konnectors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konnectors/subscriptions","organizations_url":"https://api.github.com/users/konnectors/orgs","repos_url":"https://api.github.com/users/konnectors/repos","events_url":"https://api.github.com/users/konnectors/events{/privacy}","received_events_url":"https://api.github.com/users/konnectors/received_events","type":"Organization","site_admin":false},"repo":{"id":125985661,"name":"cozy-konnector-google","full_name":"konnectors/cozy-konnector-google","owner":{"login":"konnectors","id":35696401,"avatar_url":"https://avatars2.githubusercontent.com/u/35696401?v=4","gravatar_id":"","url":"https://api.github.com/users/konnectors","html_url":"https://github.com/konnectors","followers_url":"https://api.github.com/users/konnectors/followers","following_url":"https://api.github.com/users/konnectors/following{/other_user}","gists_url":"https://api.github.com/users/konnectors/gists{/gist_id}","starred_url":"https://api.github.com/users/konnectors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konnectors/subscriptions","organizations_url":"https://api.github.com/users/konnectors/orgs","repos_url":"https://api.github.com/users/konnectors/repos","events_url":"https://api.github.com/users/konnectors/events{/privacy}","received_events_url":"https://api.github.com/users/konnectors/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/konnectors/cozy-konnector-google","description":null,"fork":false,"url":"https://api.github.com/repos/konnectors/cozy-konnector-google","forks_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/forks","keys_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/keys{/key_id}","collaborators_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/teams","hooks_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/hooks","issue_events_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/issues/events{/number}","events_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/events","assignees_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/assignees{/user}","branches_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/branches{/branch}","tags_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/tags","blobs_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/git/refs{/sha}","trees_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/git/trees{/sha}","statuses_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/statuses/{sha}","languages_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/languages","stargazers_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/stargazers","contributors_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/contributors","subscribers_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/subscribers","subscription_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/subscription","commits_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/commits{/sha}","git_commits_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/git/commits{/sha}","comments_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/comments{/number}","issue_comment_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/issues/comments{/number}","contents_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/contents/{+path}","compare_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/compare/{base}...{head}","merges_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/merges","archive_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/downloads","issues_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/issues{/number}","pulls_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/pulls{/number}","milestones_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/milestones{/number}","notifications_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/labels{/name}","releases_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/releases{/id}","deployments_url":"https://api.github.com/repos/konnectors/cozy-konnector-google/deployments","created_at":"2018-03-20T08:36:04Z","updated_at":"2018-03-27T15:11:33Z","pushed_at":"2018-03-28T08:52:16Z","git_url":"git://github.com/konnectors/cozy-konnector-google.git","ssh_url":"git@github.com:konnectors/cozy-konnector-google.git","clone_url":"https://github.com/konnectors/cozy-konnector-google.git","svn_url":"https://github.com/konnectors/cozy-konnector-google","homepage":null,"size":2659,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/konnectors/cozy-konnector-google/pulls/22"},"html":{"href":"https://github.com/konnectors/cozy-konnector-google/pull/22"},"issue":{"href":"https://api.github.com/repos/konnectors/cozy-konnector-google/issues/22"},"comments":{"href":"https://api.github.com/repos/konnectors/cozy-konnector-google/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/konnectors/cozy-konnector-google/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/konnectors/cozy-konnector-google/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/konnectors/cozy-konnector-google/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/konnectors/cozy-konnector-google/statuses/76e248018558ec0648069f0c1f3587f8b63add18"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":5,"additions":210,"deletions":169,"changed_files":9}}
{"actor":{"display_login":"enguerran"}}