Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-04-25 02:48:22 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-06-04 01:16:31 +0400
commitfd348de76d651d49acc8eb742cc647dc777ef5fc (patch)
tree26f42bef57c9a636eff0a548a29cb1e2e6d12c8c /doc/api/system_hooks.md
parentde1a7aa7eb523cf2fdad12f8eeda2ba4c5b51820 (diff)
Update docs to markdown style guide.
Diffstat (limited to 'doc/api/system_hooks.md')
-rw-r--r--doc/api/system_hooks.md14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md
index 0d33aee2133..6483a73c7ec 100644
--- a/doc/api/system_hooks.md
+++ b/doc/api/system_hooks.md
@@ -2,7 +2,7 @@
All methods require admin authorization.
-The url endpoint of the system hooks can be configured in [the admin area under hooks](/admin/hooks).
+The URL endpoint of the system hooks can be configured in [the admin area under hooks](/admin/hooks).
## List system hooks
@@ -14,7 +14,7 @@ GET /hooks
Parameters:
-+ **none**
+- **none**
```json
[
@@ -34,8 +34,7 @@ POST /hooks
Parameters:
-+ `url` (required) - The hook URL
-
+- `url` (required) - The hook URL
## Test system hook
@@ -45,7 +44,7 @@ GET /hooks/:id
Parameters:
-+ `id` (required) - The ID of hook
+- `id` (required) - The ID of hook
```json
{
@@ -60,8 +59,7 @@ Parameters:
## Delete system hook
-Deletes a system hook. This is an idempotent API function and returns `200 Ok` even if the hook
-is not available. If the hook is deleted it is also returned as JSON.
+Deletes a system hook. This is an idempotent API function and returns `200 Ok` even if the hook is not available. If the hook is deleted it is also returned as JSON.
```
DELETE /hooks/:id
@@ -69,4 +67,4 @@ DELETE /hooks/:id
Parameters:
-+ `id` (required) - The ID of hook
+- `id` (required) - The ID of hook