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:
Diffstat (limited to 'doc/api/group_badges.md')
-rw-r--r--doc/api/group_badges.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/group_badges.md b/doc/api/group_badges.md
index f88689d80c6..afefc3925cd 100644
--- a/doc/api/group_badges.md
+++ b/doc/api/group_badges.md
@@ -1,6 +1,6 @@
# Group badges API
-> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17082)
+> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/17082)
in GitLab 10.6.
## Placeholder tokens
@@ -99,7 +99,7 @@ POST /groups/:id/badges
| `image_url` | string | yes | URL of the badge image |
```bash
-curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" --data "link_url=https://gitlab.com/gitlab-org/gitlab-ce/commits/master&image_url=https://shields.io/my/badge1&position=0" https://gitlab.example.com/api/v4/groups/:id/badges
+curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" --data "link_url=https://gitlab.com/gitlab-org/gitlab-foss/commits/master&image_url=https://shields.io/my/badge1&position=0" https://gitlab.example.com/api/v4/groups/:id/badges
```
Example response:
@@ -107,9 +107,9 @@ Example response:
```json
{
"id": 1,
- "link_url": "https://gitlab.com/gitlab-org/gitlab-ce/commits/master",
+ "link_url": "https://gitlab.com/gitlab-org/gitlab-foss/commits/master",
"image_url": "https://shields.io/my/badge1",
- "rendered_link_url": "https://gitlab.com/gitlab-org/gitlab-ce/commits/master",
+ "rendered_link_url": "https://gitlab.com/gitlab-org/gitlab-foss/commits/master",
"rendered_image_url": "https://shields.io/my/badge1",
"kind": "group"
}
@@ -139,9 +139,9 @@ Example response:
```json
{
"id": 1,
- "link_url": "https://gitlab.com/gitlab-org/gitlab-ce/commits/master",
+ "link_url": "https://gitlab.com/gitlab-org/gitlab-foss/commits/master",
"image_url": "https://shields.io/my/badge",
- "rendered_link_url": "https://gitlab.com/gitlab-org/gitlab-ce/commits/master",
+ "rendered_link_url": "https://gitlab.com/gitlab-org/gitlab-foss/commits/master",
"rendered_image_url": "https://shields.io/my/badge",
"kind": "group"
}