Commit b249d4e9 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'fix_hooks_docs' into 'master'

Fix incorrect git_hook API docs

Docs did not match the actual API.

See merge request !225
parents 8afda620 db15a306
......@@ -887,7 +887,7 @@ Parameters:
Get a project git hook.
```
GET /projects/:id/git_hooks
GET /projects/:id/git_hook
```
Parameters:
......@@ -910,7 +910,7 @@ Parameters:
Adds a git hook to a specified project.
```
POST /projects/:id/git_hooks
POST /projects/:id/git_hook
```
Parameters:
......@@ -924,7 +924,7 @@ Parameters:
Edits a git hook for a specified project.
```
PUT /projects/:id/git_hooks
PUT /projects/:id/git_hook
```
Parameters:
......@@ -939,7 +939,7 @@ Removes a git hook from a project. This is an idempotent method and can be calle
Either the git hook is available or not.
```
DELETE /projects/:id/git_hooks
DELETE /projects/:id/git_hook
```
Parameters:
......
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