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:
authorWinnie Hellmann <winnie@gitlab.com>2018-04-08 14:39:35 +0300
committerDouwe Maan <douwe@gitlab.com>2018-04-08 14:39:35 +0300
commit42411b05ff96b1cc79acfa332925e988b5edc30d (patch)
treec9dcf43727848a9d51959c53428d7782b0acefe2 /doc/api/group_badges.md
parent14f183ded3912e51ecfe36ec8e581b6865839c24 (diff)
Add user documentation for badges
Diffstat (limited to 'doc/api/group_badges.md')
-rw-r--r--doc/api/group_badges.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/api/group_badges.md b/doc/api/group_badges.md
index 3e0683f378d..0d7d0fd9c42 100644
--- a/doc/api/group_badges.md
+++ b/doc/api/group_badges.md
@@ -1,5 +1,8 @@
# Group badges API
+> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17082)
+in GitLab 10.6.
+
## Placeholder tokens
Badges support placeholders that will be replaced in real time in both the link and image URL. The allowed placeholders are:
@@ -182,7 +185,7 @@ curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/a
Example response:
```json
-{
+{
"link_url": "http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}",
"image_url": "https://shields.io/my/badge",
"rendered_link_url": "http://example.com/ci_status.svg?project=example-org/example-project&ref=master",