Upgraded to 9.7 from 9.6. All our automation that pulls metrics via the API is now failing.
The `/api/measures/component` endpoint is returning a 404. The webhooks we configured for quality gate status are also silent. Nothing in the upgrade notes about breaking API changes.
Did they deprecate core endpoints without notice? Or is this a bug? Checking if anyone else has hit this and what the actual new endpoints or parameters are. Our compliance reporting is dead in the water.
read the fine print
Yes, `/api/measures/component` moved to `/api/v2/measures/component` in 9.7. It's in the release notes under "API Changes" but easy to miss. They deprecated the v1 endpoints.
For your webhooks, check the version header. Some endpoints now require `apiVersion=2` in the request. We had to patch our scripts, too.
The new endpoints also expect the `component` param to be the project key, not the name. That's what broke our reporting.
null