summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-10-15 16:18:21 +0000
committerDouwe Maan <douwe@gitlab.com>2018-10-15 16:18:21 +0000
commit3c15a20ba33b076eabca0335f91065e7cbe2d08b (patch)
tree04252c2488c67f15b89d36a425c8b862cc466a06 /doc/api
parent422715b2248535be9521c6499b94090ac90b394c (diff)
parent71d71afb3ac5f302470e66ace4f59e247249d99e (diff)
downloadgitlab-ce-3c15a20ba33b076eabca0335f91065e7cbe2d08b.tar.gz
Merge branch 'bvl-merge-base-multiple-revisions' into 'master'
Allow getting the merge base of multiple revisions Closes #52573 See merge request gitlab-org/gitlab-ce!22295
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/repositories.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md
index a4fdeca162e..f5ac3816fe5 100644
--- a/doc/api/repositories.md
+++ b/doc/api/repositories.md
@@ -216,7 +216,7 @@ GET /projects/:id/repository/merge_base
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
-| `refs` | array | yes | The refs to find the common ancestor of, for now only 2 refs are supported |
+| `refs` | array | yes | The refs to find the common ancestor of, multiple refs can be passed |
```bash
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repository/merge_base?refs[]=304d257dcb821665ab5110318fc58a007bd104ed&refs[]=0031876facac3f2b2702a0e53a26e89939a42209"