diff options
author | 🙈 jacopo beschi 🙉 <intrip@gmail.com> | 2018-09-05 13:07:02 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-09-05 13:07:02 +0000 |
commit | 20bd1e6b34417a2b9f688071e2891a64d1653770 (patch) | |
tree | 88c9bb554659f57e4ffb23d657aa69d6ceea534e /doc | |
parent | cff47b2045999ba5ab1af7cf8c0aa45b2c52fb36 (diff) | |
download | gitlab-ce-20bd1e6b34417a2b9f688071e2891a64d1653770.tar.gz |
Resolve "Return how many commits the source branch is behind the target branch through the API"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/merge_requests.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index 58d05a70d05..9e6676d62fe 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -352,6 +352,7 @@ Parameters: - `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user - `merge_request_iid` (required) - The internal ID of the merge request - `render_html` (optional) - If `true` response includes rendered HTML for title and description +- `include_diverged_commits_count` (optional) - If `true` response includes the commits behind the target branch ```json { @@ -435,7 +436,8 @@ Parameters: "username" : "root", "id" : 1, "name" : "Administrator" - } + }, + "diverged_commits_count": 2 } ``` |