summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-02-23 16:27:15 +0000
committerRémy Coutable <remy@rymai.me>2017-02-23 16:27:15 +0000
commitf6443a4564301c0f7428fc00e684e9fcc386fb46 (patch)
tree9f47c1d3ad951cad67e56b4d40574020d81088d7
parent6342888fb57ad2f71922e679d4c8eb25b173a990 (diff)
parentabbc592ee1e06891d91700988e84b862a55b3e63 (diff)
downloadgitlab-ce-f6443a4564301c0f7428fc00e684e9fcc386fb46.tar.gz
Merge branch 'api-subscribe-doc' into 'master'
Use POST in the endpoint description for :resource/unsubscribe See merge request !9469
-rw-r--r--doc/api/issues.md2
-rw-r--r--doc/api/labels.md2
-rw-r--r--doc/api/merge_requests.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md
index 6cd701215e9..5266077e098 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -569,7 +569,7 @@ from it. If the user is not subscribed to the issue, the
status code `304` is returned.
```
-DELETE /projects/:id/issues/:issue_id/unsubscribe
+POST /projects/:id/issues/:issue_id/unsubscribe
```
| Attribute | Type | Required | Description |
diff --git a/doc/api/labels.md b/doc/api/labels.md
index a1e7eb1a7b1..8e0855fe9e2 100644
--- a/doc/api/labels.md
+++ b/doc/api/labels.md
@@ -228,7 +228,7 @@ from it. If the user is not subscribed to the label, the
status code `304` is returned.
```
-DELETE /projects/:id/labels/:label_id/unsubscribe
+POST /projects/:id/labels/:label_id/unsubscribe
```
| Attribute | Type | Required | Description |
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index 2a99ae822d7..ea30a163a12 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -741,7 +741,7 @@ notifications from that merge request. If the user is
not subscribed to the merge request, the status code `304` is returned.
```
-DELETE /projects/:id/merge_requests/:merge_request_id/unsubscribe
+POST /projects/:id/merge_requests/:merge_request_id/unsubscribe
```
| Attribute | Type | Required | Description |