{"action":"created","comment":{"url":"https://api.github.com/repos/cozy/cozy-stack/pulls/comments/196750147","pull_request_review_id":130361537,"id":196750147,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Njc1MDE0Nw==","diff_hunk":"@@ -320,6 +320,23 @@ Cookie: cozysessid=AAAAAFhSXT81MWU0ZTBiMzllMmI1OGUyMmZiN2Q0YTYzNDAxN2Y5NjCmp2Ja5\n }\n ```\n \n+### PUT /settings/instance/sign_tos","path":"docs/settings.md","position":4,"original_position":4,"commit_id":"b3e5d39149e9fba52699403f180c0a273de47815","original_commit_id":"b3e5d39149e9fba52699403f180c0a273de47815","user":{"login":"nono","id":2767,"node_id":"MDQ6VXNlcjI3Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/2767?v=4","gravatar_id":"","url":"https://api.github.com/users/nono","html_url":"https://github.com/nono","followers_url":"https://api.github.com/users/nono/followers","following_url":"https://api.github.com/users/nono/following{/other_user}","gists_url":"https://api.github.com/users/nono/gists{/gist_id}","starred_url":"https://api.github.com/users/nono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono/subscriptions","organizations_url":"https://api.github.com/users/nono/orgs","repos_url":"https://api.github.com/users/nono/repos","events_url":"https://api.github.com/users/nono/events{/privacy}","received_events_url":"https://api.github.com/users/nono/received_events","type":"User","site_admin":false},"body":"I'd have used a `POST` and not a `PUT` here","created_at":"2018-06-20T12:13:28Z","updated_at":"2018-06-20T12:13:58Z","html_url":"https://github.com/cozy/cozy-stack/pull/1438#discussion_r196750147","pull_request_url":"https://api.github.com/repos/cozy/cozy-stack/pulls/1438","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-stack/pulls/comments/196750147"},"html":{"href":"https://github.com/cozy/cozy-stack/pull/1438#discussion_r196750147"},"pull_request":{"href":"https://api.github.com/repos/cozy/cozy-stack/pulls/1438"}}},"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-stack/pulls/1438","id":196080892,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MDgwODky","html_url":"https://github.com/cozy/cozy-stack/pull/1438","diff_url":"https://github.com/cozy/cozy-stack/pull/1438.diff","patch_url":"https://github.com/cozy/cozy-stack/pull/1438.patch","issue_url":"https://api.github.com/repos/cozy/cozy-stack/issues/1438","number":1438,"state":"open","locked":false,"title":"Add route to sign the new TOS","user":{"login":"jinroh","id":687847,"node_id":"MDQ6VXNlcjY4Nzg0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/687847?v=4","gravatar_id":"","url":"https://api.github.com/users/jinroh","html_url":"https://github.com/jinroh","followers_url":"https://api.github.com/users/jinroh/followers","following_url":"https://api.github.com/users/jinroh/following{/other_user}","gists_url":"https://api.github.com/users/jinroh/gists{/gist_id}","starred_url":"https://api.github.com/users/jinroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinroh/subscriptions","organizations_url":"https://api.github.com/users/jinroh/orgs","repos_url":"https://api.github.com/users/jinroh/repos","events_url":"https://api.github.com/users/jinroh/events{/privacy}","received_events_url":"https://api.github.com/users/jinroh/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-20T09:48:52Z","updated_at":"2018-06-20T12:13:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"652041d854d2305b3e1011cd783db010da8694b7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cozy/cozy-stack/pulls/1438/commits","review_comments_url":"https://api.github.com/repos/cozy/cozy-stack/pulls/1438/comments","review_comment_url":"https://api.github.com/repos/cozy/cozy-stack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy/cozy-stack/issues/1438/comments","statuses_url":"https://api.github.com/repos/cozy/cozy-stack/statuses/b3e5d39149e9fba52699403f180c0a273de47815","head":{"label":"jinroh:tos-sign-route","ref":"tos-sign-route","sha":"b3e5d39149e9fba52699403f180c0a273de47815","user":{"login":"jinroh","id":687847,"node_id":"MDQ6VXNlcjY4Nzg0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/687847?v=4","gravatar_id":"","url":"https://api.github.com/users/jinroh","html_url":"https://github.com/jinroh","followers_url":"https://api.github.com/users/jinroh/followers","following_url":"https://api.github.com/users/jinroh/following{/other_user}","gists_url":"https://api.github.com/users/jinroh/gists{/gist_id}","starred_url":"https://api.github.com/users/jinroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinroh/subscriptions","organizations_url":"https://api.github.com/users/jinroh/orgs","repos_url":"https://api.github.com/users/jinroh/repos","events_url":"https://api.github.com/users/jinroh/events{/privacy}","received_events_url":"https://api.github.com/users/jinroh/received_events","type":"User","site_admin":false},"repo":{"id":70130658,"node_id":"MDEwOlJlcG9zaXRvcnk3MDEzMDY1OA==","name":"cozy-stack","full_name":"jinroh/cozy-stack","owner":{"login":"jinroh","id":687847,"node_id":"MDQ6VXNlcjY4Nzg0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/687847?v=4","gravatar_id":"","url":"https://api.github.com/users/jinroh","html_url":"https://github.com/jinroh","followers_url":"https://api.github.com/users/jinroh/followers","following_url":"https://api.github.com/users/jinroh/following{/other_user}","gists_url":"https://api.github.com/users/jinroh/gists{/gist_id}","starred_url":"https://api.github.com/users/jinroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinroh/subscriptions","organizations_url":"https://api.github.com/users/jinroh/orgs","repos_url":"https://api.github.com/users/jinroh/repos","events_url":"https://api.github.com/users/jinroh/events{/privacy}","received_events_url":"https://api.github.com/users/jinroh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jinroh/cozy-stack","description":"Simple, Versatile, Yours","fork":true,"url":"https://api.github.com/repos/jinroh/cozy-stack","forks_url":"https://api.github.com/repos/jinroh/cozy-stack/forks","keys_url":"https://api.github.com/repos/jinroh/cozy-stack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jinroh/cozy-stack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jinroh/cozy-stack/teams","hooks_url":"https://api.github.com/repos/jinroh/cozy-stack/hooks","issue_events_url":"https://api.github.com/repos/jinroh/cozy-stack/issues/events{/number}","events_url":"https://api.github.com/repos/jinroh/cozy-stack/events","assignees_url":"https://api.github.com/repos/jinroh/cozy-stack/assignees{/user}","branches_url":"https://api.github.com/repos/jinroh/cozy-stack/branches{/branch}","tags_url":"https://api.github.com/repos/jinroh/cozy-stack/tags","blobs_url":"https://api.github.com/repos/jinroh/cozy-stack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jinroh/cozy-stack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jinroh/cozy-stack/git/refs{/sha}","trees_url":"https://api.github.com/repos/jinroh/cozy-stack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jinroh/cozy-stack/statuses/{sha}","languages_url":"https://api.github.com/repos/jinroh/cozy-stack/languages","stargazers_url":"https://api.github.com/repos/jinroh/cozy-stack/stargazers","contributors_url":"https://api.github.com/repos/jinroh/cozy-stack/contributors","subscribers_url":"https://api.github.com/repos/jinroh/cozy-stack/subscribers","subscription_url":"https://api.github.com/repos/jinroh/cozy-stack/subscription","commits_url":"https://api.github.com/repos/jinroh/cozy-stack/commits{/sha}","git_commits_url":"https://api.github.com/repos/jinroh/cozy-stack/git/commits{/sha}","comments_url":"https://api.github.com/repos/jinroh/cozy-stack/comments{/number}","issue_comment_url":"https://api.github.com/repos/jinroh/cozy-stack/issues/comments{/number}","contents_url":"https://api.github.com/repos/jinroh/cozy-stack/contents/{+path}","compare_url":"https://api.github.com/repos/jinroh/cozy-stack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jinroh/cozy-stack/merges","archive_url":"https://api.github.com/repos/jinroh/cozy-stack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jinroh/cozy-stack/downloads","issues_url":"https://api.github.com/repos/jinroh/cozy-stack/issues{/number}","pulls_url":"https://api.github.com/repos/jinroh/cozy-stack/pulls{/number}","milestones_url":"https://api.github.com/repos/jinroh/cozy-stack/milestones{/number}","notifications_url":"https://api.github.com/repos/jinroh/cozy-stack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jinroh/cozy-stack/labels{/name}","releases_url":"https://api.github.com/repos/jinroh/cozy-stack/releases{/id}","deployments_url":"https://api.github.com/repos/jinroh/cozy-stack/deployments","created_at":"2016-10-06T07:03:29Z","updated_at":"2016-10-06T07:03:30Z","pushed_at":"2018-06-20T09:48:28Z","git_url":"git://github.com/jinroh/cozy-stack.git","ssh_url":"git@github.com:jinroh/cozy-stack.git","clone_url":"https://github.com/jinroh/cozy-stack.git","svn_url":"https://github.com/jinroh/cozy-stack","homepage":"https://cozy.io","size":54802,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"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","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cozy:master","ref":"master","sha":"da0035f46e0ada6bd3963475cc882ffb6beee784","user":{"login":"cozy","id":7690525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2OTA1MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7690525?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":63433838,"node_id":"MDEwOlJlcG9zaXRvcnk2MzQzMzgzOA==","name":"cozy-stack","full_name":"cozy/cozy-stack","owner":{"login":"cozy","id":7690525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2OTA1MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7690525?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-stack","description":"Simple, Versatile, Yours","fork":false,"url":"https://api.github.com/repos/cozy/cozy-stack","forks_url":"https://api.github.com/repos/cozy/cozy-stack/forks","keys_url":"https://api.github.com/repos/cozy/cozy-stack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-stack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-stack/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-stack/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-stack/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-stack/events","assignees_url":"https://api.github.com/repos/cozy/cozy-stack/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-stack/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-stack/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-stack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-stack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-stack/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-stack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-stack/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-stack/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-stack/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-stack/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-stack/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-stack/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-stack/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-stack/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-stack/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-stack/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-stack/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-stack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-stack/merges","archive_url":"https://api.github.com/repos/cozy/cozy-stack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-stack/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-stack/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-stack/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-stack/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-stack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-stack/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-stack/releases{/id}","deployments_url":"https://api.github.com/repos/cozy/cozy-stack/deployments","created_at":"2016-07-15T15:54:30Z","updated_at":"2018-06-20T07:39:57Z","pushed_at":"2018-06-20T09:48:52Z","git_url":"git://github.com/cozy/cozy-stack.git","ssh_url":"git@github.com:cozy/cozy-stack.git","clone_url":"https://github.com/cozy/cozy-stack.git","svn_url":"https://github.com/cozy/cozy-stack","homepage":"https://docs.cozy.io/en/cozy-stack/README/","size":54689,"stargazers_count":341,"watchers_count":341,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":12,"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","node_id":"MDc6TGljZW5zZTE="},"forks":68,"open_issues":12,"watchers":341,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-stack/pulls/1438"},"html":{"href":"https://github.com/cozy/cozy-stack/pull/1438"},"issue":{"href":"https://api.github.com/repos/cozy/cozy-stack/issues/1438"},"comments":{"href":"https://api.github.com/repos/cozy/cozy-stack/issues/1438/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy/cozy-stack/pulls/1438/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy/cozy-stack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy/cozy-stack/pulls/1438/commits"},"statuses":{"href":"https://api.github.com/repos/cozy/cozy-stack/statuses/b3e5d39149e9fba52699403f180c0a273de47815"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"nono"}}