Commit ad597a6a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'mr-api-diff-refs-doc' into 'master'

Add diff_refs documentation in single merge requests response.

See merge request gitlab-org/gitlab-ce!21923
parents 2c8475e1 098340b0
...@@ -437,6 +437,11 @@ Parameters: ...@@ -437,6 +437,11 @@ Parameters:
"id" : 1, "id" : 1,
"name" : "Administrator" "name" : "Administrator"
}, },
"diff_refs": {
"base_sha": "1111111111111111111111111111111111111111",
"head_sha": "2222222222222222222222222222222222222222",
"start_sha": "3333333333333333333333333333333333333333"
},
"diverged_commits_count": 2 "diverged_commits_count": 2
} }
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment