Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-18 18:10:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-18 18:10:33 +0300
commitd9e07a155e65cd4a7d2a1e0f10cd200a6b57371e (patch)
tree74c8de74729a462db976287c0b709c754dce5b6f /doc/api/repositories.md
parentf10eb9ebaefb0d6ff4ee7552dbf127dc70aaf27d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/repositories.md')
-rw-r--r--doc/api/repositories.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md
index 79ccd5bc9e4..305216f853a 100644
--- a/doc/api/repositories.md
+++ b/doc/api/repositories.md
@@ -199,6 +199,9 @@ authentication if the repository is publicly accessible.
GET /projects/:id/repository/contributors
```
+CAUTION: **Deprecation:**
+The `additions` and `deletions` attributes are deprecated [as of GitLab 13.4](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/39653) because they [always return `0`](https://gitlab.com/gitlab-org/gitlab/-/issues/233119).
+
Parameters:
- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user
@@ -212,14 +215,14 @@ Response:
"name": "Example User",
"email": "example@example.com",
"commits": 117,
- "additions": 2097,
- "deletions": 517
+ "additions": 0,
+ "deletions": 0
}, {
"name": "Sample User",
"email": "sample@example.com",
"commits": 33,
- "additions": 338,
- "deletions": 244
+ "additions": 0,
+ "deletions": 0
}]
```