{"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/terraform-website/pulls/comments/238482297","pull_request_review_id":181034488,"id":238482297,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODQ4MjI5Nw==","diff_hunk":"@@ -26,10 +26,12 @@ This endpoint allows you to create a VCS connection between an organization and\n \n ~> **Note:** This endpoint does not currently support creation of a Bitbucket Server OAuth Client.\n \n-Result  | Status and response\n---------|------------------------\n-Success | HTTP 201 and a JSON API document (`type: \"oauth-clients\"`).\n-Failure | HTTP 4XX and a JSON API list of error messages.\n+Status  | Response                                | Reason\n+--------|-----------------------------------------|----------\n+[201][] | [JSON API document][] (`type: \"oauth-clients\"`) | The request was successful\n+[404][] | [JSON API error object][]               | Organization not found or user unauthorized to perform action\n+[422][] | [JSON API error object][]               | Malformed request body (missing attributes, wrong types, etc.)\n+[500][] | [JSON API error object][]               | Failure during OAuth Client creation","path":"content/source/docs/enterprise/api/oauth-clients.html.md","position":null,"original_position":13,"commit_id":"6562ddddbc6d7e3c322a8b77d12b32c83da90ab6","original_commit_id":"ffaf59d7d67e7150721d646bcfce0029683035cd","user":{"login":"zhssh","id":28545916,"node_id":"MDQ6VXNlcjI4NTQ1OTE2","avatar_url":"https://avatars0.githubusercontent.com/u/28545916?v=4","gravatar_id":"","url":"https://api.github.com/users/zhssh","html_url":"https://github.com/zhssh","followers_url":"https://api.github.com/users/zhssh/followers","following_url":"https://api.github.com/users/zhssh/following{/other_user}","gists_url":"https://api.github.com/users/zhssh/gists{/gist_id}","starred_url":"https://api.github.com/users/zhssh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhssh/subscriptions","organizations_url":"https://api.github.com/users/zhssh/orgs","repos_url":"https://api.github.com/users/zhssh/repos","events_url":"https://api.github.com/users/zhssh/events{/privacy}","received_events_url":"https://api.github.com/users/zhssh/received_events","type":"User","site_admin":false},"body":":+1: 404 and 422 should cover all missing or invalid attributes.\r\n\r\nThe 500 error has been removed. It was copied from the template (`content/source/docs/enterprise/api/_template.md`), so we may want to update that document.","created_at":"2018-12-03T23:42:56Z","updated_at":"2018-12-03T23:42:56Z","html_url":"https://github.com/hashicorp/terraform-website/pull/570#discussion_r238482297","pull_request_url":"https://api.github.com/repos/hashicorp/terraform-website/pulls/570","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform-website/pulls/comments/238482297"},"html":{"href":"https://github.com/hashicorp/terraform-website/pull/570#discussion_r238482297"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/terraform-website/pulls/570"}},"in_reply_to_id":238002776},"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform-website/pulls/570","id":233745887,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNzQ1ODg3","html_url":"https://github.com/hashicorp/terraform-website/pull/570","diff_url":"https://github.com/hashicorp/terraform-website/pull/570.diff","patch_url":"https://github.com/hashicorp/terraform-website/pull/570.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform-website/issues/570","number":570,"state":"open","locked":false,"title":"Document the oauth client update endpoint","user":{"login":"zhssh","id":28545916,"node_id":"MDQ6VXNlcjI4NTQ1OTE2","avatar_url":"https://avatars0.githubusercontent.com/u/28545916?v=4","gravatar_id":"","url":"https://api.github.com/users/zhssh","html_url":"https://github.com/zhssh","followers_url":"https://api.github.com/users/zhssh/followers","following_url":"https://api.github.com/users/zhssh/following{/other_user}","gists_url":"https://api.github.com/users/zhssh/gists{/gist_id}","starred_url":"https://api.github.com/users/zhssh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhssh/subscriptions","organizations_url":"https://api.github.com/users/zhssh/orgs","repos_url":"https://api.github.com/users/zhssh/repos","events_url":"https://api.github.com/users/zhssh/events{/privacy}","received_events_url":"https://api.github.com/users/zhssh/received_events","type":"User","site_admin":false},"body":"![screenshot](https://user-images.githubusercontent.com/28545916/49051656-aa0df100-f19d-11e8-928b-c222b91dc743.png)\r\n","created_at":"2018-11-27T00:58:19Z","updated_at":"2018-12-03T23:42:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb2d80d142d5d6c67567cfe29d8ee6739615a93a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform-website/pulls/570/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform-website/pulls/570/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform-website/issues/570/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform-website/statuses/6562ddddbc6d7e3c322a8b77d12b32c83da90ab6","head":{"label":"hashicorp:vcs-provider-api-docs","ref":"vcs-provider-api-docs","sha":"6562ddddbc6d7e3c322a8b77d12b32c83da90ab6","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":92349608,"node_id":"MDEwOlJlcG9zaXRvcnk5MjM0OTYwOA==","name":"terraform-website","full_name":"hashicorp/terraform-website","private":false,"owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hashicorp/terraform-website","description":"Prototype of Terraform website being assembled from multiple repositories","fork":false,"url":"https://api.github.com/repos/hashicorp/terraform-website","forks_url":"https://api.github.com/repos/hashicorp/terraform-website/forks","keys_url":"https://api.github.com/repos/hashicorp/terraform-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/terraform-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/terraform-website/teams","hooks_url":"https://api.github.com/repos/hashicorp/terraform-website/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/terraform-website/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/terraform-website/events","assignees_url":"https://api.github.com/repos/hashicorp/terraform-website/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/terraform-website/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/terraform-website/tags","blobs_url":"https://api.github.com/repos/hashicorp/terraform-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/terraform-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/terraform-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/terraform-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/terraform-website/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/terraform-website/languages","stargazers_url":"https://api.github.com/repos/hashicorp/terraform-website/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/terraform-website/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/terraform-website/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/terraform-website/subscription","commits_url":"https://api.github.com/repos/hashicorp/terraform-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/terraform-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/terraform-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/terraform-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/terraform-website/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/terraform-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/terraform-website/merges","archive_url":"https://api.github.com/repos/hashicorp/terraform-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/terraform-website/downloads","issues_url":"https://api.github.com/repos/hashicorp/terraform-website/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/terraform-website/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/terraform-website/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/terraform-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/terraform-website/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/terraform-website/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/terraform-website/deployments","created_at":"2017-05-25T00:53:44Z","updated_at":"2018-12-03T13:38:01Z","pushed_at":"2018-12-03T23:31:30Z","git_url":"git://github.com/hashicorp/terraform-website.git","ssh_url":"git@github.com:hashicorp/terraform-website.git","clone_url":"https://github.com/hashicorp/terraform-website.git","svn_url":"https://github.com/hashicorp/terraform-website","homepage":null,"size":139920,"stargazers_count":44,"watchers_count":44,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":108,"mirror_url":null,"archived":false,"open_issues_count":43,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":108,"open_issues":43,"watchers":44,"default_branch":"master"}},"base":{"label":"hashicorp:master","ref":"master","sha":"fd0b845afebb59adfd99c728b5855972783eee8c","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":92349608,"node_id":"MDEwOlJlcG9zaXRvcnk5MjM0OTYwOA==","name":"terraform-website","full_name":"hashicorp/terraform-website","private":false,"owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hashicorp/terraform-website","description":"Prototype of Terraform website being assembled from multiple repositories","fork":false,"url":"https://api.github.com/repos/hashicorp/terraform-website","forks_url":"https://api.github.com/repos/hashicorp/terraform-website/forks","keys_url":"https://api.github.com/repos/hashicorp/terraform-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/terraform-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/terraform-website/teams","hooks_url":"https://api.github.com/repos/hashicorp/terraform-website/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/terraform-website/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/terraform-website/events","assignees_url":"https://api.github.com/repos/hashicorp/terraform-website/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/terraform-website/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/terraform-website/tags","blobs_url":"https://api.github.com/repos/hashicorp/terraform-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/terraform-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/terraform-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/terraform-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/terraform-website/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/terraform-website/languages","stargazers_url":"https://api.github.com/repos/hashicorp/terraform-website/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/terraform-website/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/terraform-website/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/terraform-website/subscription","commits_url":"https://api.github.com/repos/hashicorp/terraform-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/terraform-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/terraform-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/terraform-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/terraform-website/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/terraform-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/terraform-website/merges","archive_url":"https://api.github.com/repos/hashicorp/terraform-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/terraform-website/downloads","issues_url":"https://api.github.com/repos/hashicorp/terraform-website/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/terraform-website/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/terraform-website/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/terraform-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/terraform-website/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/terraform-website/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/terraform-website/deployments","created_at":"2017-05-25T00:53:44Z","updated_at":"2018-12-03T13:38:01Z","pushed_at":"2018-12-03T23:31:30Z","git_url":"git://github.com/hashicorp/terraform-website.git","ssh_url":"git@github.com:hashicorp/terraform-website.git","clone_url":"https://github.com/hashicorp/terraform-website.git","svn_url":"https://github.com/hashicorp/terraform-website","homepage":null,"size":139920,"stargazers_count":44,"watchers_count":44,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":108,"mirror_url":null,"archived":false,"open_issues_count":43,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":108,"open_issues":43,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform-website/pulls/570"},"html":{"href":"https://github.com/hashicorp/terraform-website/pull/570"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform-website/issues/570"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform-website/issues/570/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform-website/pulls/570/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform-website/pulls/570/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform-website/statuses/6562ddddbc6d7e3c322a8b77d12b32c83da90ab6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zhssh"}}