To reduce the size of wbcheckconstraints action API responses requested by the checkConstraints gadget, we’d like to add some parameter so that only the results which the gadget will actually display are returned: warnings, violations, and bad parameters. (This would be disabled by default, otherwise it’d be a breaking change.)
Once we move towards storing the constraint check results in the database (T179849: Cache all constraint check results per-entity; for T180582: List of all constraint violations), we can also consider whether we only want to store those partial results in the database (see T179849#3762879 and T179849#3767372). This would mean that API requests without this parameter set would not benefit from the cache, so we should definitely track how many requests use the parameter, to inform our decision later.
- very minor
- even more minor
- [ResultsBuilder](https://gerrit.wikimedia.org/r/403966)
- API parameter
- gadget
- message