…and it does allow me to query the total number of code smells and the number of new code smells. But it does not provide a standard metric for the things I’m looking for.
I can get actual values (measures) using this API:
While there’s no specific metric for “Blocker Code Smells”, you can use GET api/issues/search to filter for the issues and add facets=severities to get a breakdown by severity.