Add and Preview a Project Badge
A 3-step recipe with GitLab. We can help you get access.
Recipe · 3 steps
Add and Preview a Project Badge
with GitLab · Software Construction Management
Works with AI assistants
Preview, add, and confirm a project badge.
- Render a preview of the badge link and image before persisting it.
- Add the badge to the project.
- List the project badges to confirm the new badge is present.
What you'll need to have ready
- privateToken: GitLab Private-Token used to authenticate the API calls.
- projectId: The ID or URL-encoded path of the project.
- linkUrl: URL of the badge link.
- imageUrl: URL of the badge image.
- name: Name for the badge.
For your developer
Arazzo workflow gitlab:add-project-badge, 3 operations: getApiV4ProjectsIdBadgesRender → postApiV4ProjectsIdBadges → getApiV4ProjectsIdBadges. Specs on APIs.io.