From: Julien Lancelot Date: Thu, 3 Apr 2014 06:39:42 +0000 (+0200) Subject: SONAR-5174 Add new parameters docs X-Git-Tag: 4.3~178 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a81559b2c5dbb1204520a7b0ad1dadaaeb2c2a72;p=sonarqube.git SONAR-5174 Add new parameters docs --- diff --git a/sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java b/sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java index 294f2b7d141..33187d35072 100644 --- a/sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java +++ b/sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java @@ -46,7 +46,13 @@ public class RulesWs implements WebService { .setHandler(searchHandler) .createParam("s", "An optional query that will be matched against rule titles.") .createParam("k", "An optional query that will be matched exactly agains rule keys.") - // TODO add description for languages, repositories, etc. params + .createParam("languages", "An optional query that will be matched against rule languages.") + .createParam("repositories", "An optional query that will be matched against rule repositories.") + .createParam("severities", "An optional query that will be matched against rule severities.") + .createParam("statuses", "An optional query that will be matched against rule statuses.") + .createParam("tags", "An optional query that will be matched against rule tags.") + .createParam("debtCharacteristics", "An optional query that will be matched against rule debt characteristics or sub-characteristics.") + .createParam("hasDebtCharacteristic", "Determine if returned rules should be linked to a debt characteristics or not.") .createParam("ps", "Optional page size (default is 25).") .createParam("p", "Optional page number (default is 0).");