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:
authorRobert Schilling <rschilling@student.tugraz.at>2017-02-17 12:45:05 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2017-02-21 19:44:44 +0300
commit55f2425a678b61178d46e50f2b5a2da929228f52 (patch)
tree467d77c5a37a2101fda87be193563b11987c4f35 /doc/api/v3_to_v4.md
parent316a7312341fd2d359b44da3f386c3739c1bdb4d (diff)
API: Make subscription API more RESTfuL
Diffstat (limited to 'doc/api/v3_to_v4.md')
-rw-r--r--doc/api/v3_to_v4.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/v3_to_v4.md b/doc/api/v3_to_v4.md
index 1af124c56b1..e24ee0da204 100644
--- a/doc/api/v3_to_v4.md
+++ b/doc/api/v3_to_v4.md
@@ -29,4 +29,5 @@ changes are in V4:
- Return pagination headers for all endpoints that return an array
- Removed `DELETE projects/:id/deploy_keys/:key_id/disable`. Use `DELETE projects/:id/deploy_keys/:key_id` instead
- Moved `PUT /users/:id/(block|unblock)` to `POST /users/:id/(block|unblock)`
+- Make subscription API more RESTful. Use `post ":id/#{type}/:subscribable_id/subscribe"` to subscribe and `post ":id/#{type}/:subscribable_id/unsubscribe"` to unsubscribe from a resource.
- Labels filter on `projects/:id/issues` and `/issues` now matches only issues containing all labels (i.e.: Logical AND, not OR)