Rotate a Project Badge by Name
A 2-step recipe with GitLab. We can help you get access.
Recipe · 2 steps
Rotate a Project Badge by Name
with GitLab · Software Construction Management
Works with AI assistants
Update an existing project badge's URLs, matched by name.
- List badges filtered by name to locate the badge to rotate.
- Update the matched badge with the new link and image URLs.
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.
- name: The badge name to locate.
- newLinkUrl: The new badge link URL.
- newImageUrl: The new badge image URL.
For your developer
Arazzo workflow gitlab:rotate-project-badge, 2 operations: getApiV4ProjectsIdBadges → putApiV4ProjectsIdBadgesBadgeId. Specs on APIs.io.