summaryrefslogtreecommitdiff
path: root/doc/api/v3_to_v4.md
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-02-22 11:47:13 +0000
committerRémy Coutable <remy@rymai.me>2017-02-22 11:47:13 +0000
commit87411889b9c8a778bebafeaa381e1d736af7329a (patch)
tree338e2628a8b7b95572fb1bacf3ea8b8272c3929c /doc/api/v3_to_v4.md
parent99d0bc3d5521785f14330ef8cb2160c2bececeee (diff)
parentc79bbe26ab1e16facddaf159d4d074937586d742 (diff)
downloadgitlab-ce-87411889b9c8a778bebafeaa381e1d736af7329a.tar.gz
Merge branch '22132-rename-branch-name-params-to-branch' into 'master'
Standardize branch name params as `branch` on V4 API Closes #22132 See merge request !8936
Diffstat (limited to 'doc/api/v3_to_v4.md')
-rw-r--r--doc/api/v3_to_v4.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/v3_to_v4.md b/doc/api/v3_to_v4.md
index 2dd8886ab97..59d7f0634b2 100644
--- a/doc/api/v3_to_v4.md
+++ b/doc/api/v3_to_v4.md
@@ -31,3 +31,9 @@ changes are in V4:
- Moved `PUT /users/:id/(block|unblock)` to `POST /users/:id/(block|unblock)`
- Make subscription API more RESTful. Use `post ":project_id/:subscribable_type/:subscribable_id/subscribe"` to subscribe and `post ":project_id/:subscribable_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)
+- Renamed param `branch_name` to `branch` on the following endpoints
+ - POST `:id/repository/branches`
+ - POST `:id/repository/commits`
+ - POST/PUT/DELETE `:id/repository/files`
+- Renamed `branch_name` to `branch` on DELETE `id/repository/branches/:branch` response
+