diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-01-09 11:36:12 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-01-09 11:36:12 +0000 |
commit | f6c1d382591fd837e96e99ff115b7beb0e6b3f43 (patch) | |
tree | 664cec51e2cf931af4cc2efc1ef098857cefcd99 /doc/api/commits.md | |
parent | 4eae806af4874d5d2540a78f51fcbf72b9f69287 (diff) | |
download | gitlab-ce-f6c1d382591fd837e96e99ff115b7beb0e6b3f43.tar.gz |
Add option to disable commit stats to commit API
Diffstat (limited to 'doc/api/commits.md')
-rw-r--r-- | doc/api/commits.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md index c9b72d4a1dd..63554c63057 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -159,6 +159,7 @@ Parameters: | --------- | ---- | -------- | ----------- | | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user | `sha` | string | yes | The commit hash or name of a repository branch or tag | +| `stats` | boolean | no | Include commit stats. Default is true | ```bash curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repository/commits/master |