GET
/compat/shields/v1/{user}/{interval}/{filter}Get badge data
Retrieves badge data for a user, interval, and filter in a format compatible with Shields.io. Use interval to choose the aggregation period and filter to select an entity such as a project or language; public data access must be enabled for the user.
userstringrequired
The user ID to retrieve badge data for.
intervalstringrequired
The aggregation interval. Accepted values include today, yesterday, week, month, year, 7_days, last_7_days, 30_days, last_30_days, 6_months, last_6_months, and 12_months.
filterstringrequired
The filter to apply, such as `project:wakapi` or `language:Go`.
200Returns a badge object containing its color, label, message, and schema version.
colorstringoptional
labelstringoptional
messagestringoptional
schemaVersionintegeroptional
Error handling
The user path parameter must identify a user whose public data access is enabled. interval must be a supported aggregation interval, and filter specifies the entity to include.