summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-01-22 10:08:57 +0100
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-01-22 10:08:57 +0100
commit373b277f033e12fd9a3a1e12367dd5cf120f3586 (patch)
tree8557f80e48244167d9b4583cb97f621d0f733644
parent831eb9468d5f82bd7d0c4e51e6ce87ca86aeca8c (diff)
downloadgitlab-ce-373b277f033e12fd9a3a1e12367dd5cf120f3586.tar.gz
Add note about commit status API deprecation
[ci skip]
-rw-r--r--doc/api/commits.md9
-rw-r--r--doc/ci/api/commits.md7
2 files changed, 14 insertions, 2 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md
index 4008629e0a2..e4d436b8e52 100644
--- a/doc/api/commits.md
+++ b/doc/api/commits.md
@@ -211,7 +211,12 @@ Example response:
}
```
-## Get the status of a commit
+## Commit status
+
+Since GitLab 8.1, this is the new commit status API. The documentation in
+[ci/api/commits](../ci/api/commits.md) is deprecated.
+
+### Get the status of a commit
Get the statuses of a commit in a project.
@@ -285,7 +290,7 @@ Example response:
]
```
-## Post the build status to a commit
+### Post the build status to a commit
Adds or updates a build status of a commit.
diff --git a/doc/ci/api/commits.md b/doc/ci/api/commits.md
index 4df7afc6c52..871de7abcce 100644
--- a/doc/ci/api/commits.md
+++ b/doc/ci/api/commits.md
@@ -1,5 +1,12 @@
# Commits API
+**DEPRECATED**
+
+Since GitLab 8.1, there is a new commit status API. Please see the [revised
+documentation](../../api/commits.md#commit-status).
+
+---
+
__Authentication is done by GitLab CI project token__
## Commits