[](img/autocomplete_characters_example1_v12_0.png)
[](/docs/img/autocomplete_characters_example1_v12_0.png)
[](img/autocomplete_characters_example2_v12_0.png)
[](/docs/img/autocomplete_characters_example2_v12_0.png)
**Note:** Placeholders allow badges to expose otherwise-private information, such as the default branch or commit SHA when the project is configured to have a private repository. This is by design, as badges are intended to be used publicly. Avoid using these placeholders if the information is sensitive.
## API[](#api "Permalink")
您还可以通过 GitLab API 配置徽章. 与设置一样,在[项目级别](../../api/project_badges.html)和[组级别的](../../api/group_badges.html)徽章端点之间也有所区别.