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
path: root/doc
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-02-23 19:27:15 +0300
committerRémy Coutable <remy@rymai.me>2017-02-23 19:27:15 +0300
commitf6443a4564301c0f7428fc00e684e9fcc386fb46 (patch)
tree9f47c1d3ad951cad67e56b4d40574020d81088d7 /doc
parent6342888fb57ad2f71922e679d4c8eb25b173a990 (diff)
parentabbc592ee1e06891d91700988e84b862a55b3e63 (diff)
Merge branch 'api-subscribe-doc' into 'master'
Use POST in the endpoint description for :resource/unsubscribe See merge request !9469
Diffstat (limited to 'doc')
-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 |