Commit ac7d4a40 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Fix typos in webhooks docs.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/14660
parent c1834664
...@@ -58,13 +58,13 @@ X-Gitlab-Event: Push Hook ...@@ -58,13 +58,13 @@ X-Gitlab-Event: Push Hook
"path_with_namespace":"mike/diaspora", "path_with_namespace":"mike/diaspora",
"default_branch":"master", "default_branch":"master",
"homepage":"http://example.com/mike/diaspora", "homepage":"http://example.com/mike/diaspora",
"url":"git@example.com:mike/diasporadiaspora.git", "url":"git@example.com:mike/diaspora.git",
"ssh_url":"git@example.com:mike/diaspora.git", "ssh_url":"git@example.com:mike/diaspora.git",
"http_url":"http://example.com/mike/diaspora.git" "http_url":"http://example.com/mike/diaspora.git"
}, },
"repository":{ "repository":{
"name": "Diaspora", "name": "Diaspora",
"url": "git@example.com:mike/diasporadiaspora.git", "url": "git@example.com:mike/diaspora.git",
"description": "", "description": "",
"homepage": "http://example.com/mike/diaspora", "homepage": "http://example.com/mike/diaspora",
"git_http_url":"http://example.com/mike/diaspora.git", "git_http_url":"http://example.com/mike/diaspora.git",
...@@ -113,7 +113,6 @@ Triggered when you create (or delete) tags to the repository. ...@@ -113,7 +113,6 @@ Triggered when you create (or delete) tags to the repository.
X-Gitlab-Event: Tag Push Hook X-Gitlab-Event: Tag Push Hook
``` ```
**Request body:** **Request body:**
```json ```json
...@@ -143,7 +142,7 @@ X-Gitlab-Event: Tag Push Hook ...@@ -143,7 +142,7 @@ X-Gitlab-Event: Tag Push Hook
"http_url":"http://example.com/jsmith/example.git" "http_url":"http://example.com/jsmith/example.git"
}, },
"repository":{ "repository":{
"name": "jsmith", "name": "Example",
"url": "ssh://git@example.com/jsmith/example.git", "url": "ssh://git@example.com/jsmith/example.git",
"description": "", "description": "",
"homepage": "http://example.com/jsmith/example", "homepage": "http://example.com/jsmith/example",
...@@ -478,7 +477,7 @@ X-Gitlab-Event: Note Hook ...@@ -478,7 +477,7 @@ X-Gitlab-Event: Note Hook
}, },
"repository":{ "repository":{
"name":"diaspora", "name":"diaspora",
"url":"git@example.com:mike/diasporadiaspora.git", "url":"git@example.com:mike/diaspora.git",
"description":"", "description":"",
"homepage":"http://example.com/mike/diaspora" "homepage":"http://example.com/mike/diaspora"
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment