I am trying to get all the active rules used by Quality Profile via API calls. I’ve tried using api/qualityprofiles/backup?qualityProfile=qp%20name (which didn’t return anything) and api/rules/search?activation=true (which did return all the rules, active and not active, used in my SQ instance).
If it is not possible I would be happy with getting just all the active rules and not by Quality Profile.
The current version of SQ I’m using is 8.4.1 (build 35646).
After checking the response and realizing that the results were paginated I’ve use “/api/rules/search?activation=true&qprofile=yourqpcode” iterating to get all the rules.