Badges
Render a coverage SVG badge for a repository.
Returns an SVG status badge showing the latest coverage percentage for the named repository. The most-recently-uploaded coverage report is used, regardless of branch.
Color thresholds: 100% = green, 90–99% = light green, 70–89% = yellow, <70% = red.
Embed in a README:

get/api/v1/coverage/badges
Request
- Base URL: https://platform.buildpulse.io
- URL: https://platform.buildpulse.io/api/v1/coverage/badges
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Query parameters
repositorystring required
Repository name (case-insensitive).
branch_or_prstring
Reserved for future branch-/PR-specific coverage selection. Currently ignored; the most recent report is always used.
Response
SVG badge image.
Changes
No recorded changes to this operation across all 1 revision of this API.