]> source.dussan.org Git - sonarqube.git/commitdiff
Set /api/rules/list as internal
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 18 Apr 2014 09:48:34 +0000 (11:48 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 18 Apr 2014 09:48:42 +0000 (11:48 +0200)
sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java

index 20ad416fd0f271e07c08657777269507a9dd423a..d7a4dd13826ab5b888ed61422ddd6003d6bd1cb9 100644 (file)
@@ -43,9 +43,10 @@ public class RulesWs implements WebService {
     controller.createAction("list")
       .setDescription("List rules that match the given criteria")
       .setSince("4.3")
+      .setInternal(true)
       .setHandler(searchHandler)
       .createParam("s", "To return rules whose title contains this string.")
-      .createParam("k", "An optional query that will be matched exactly agains rule keys.")
+      .createParam("k", "Key of the rule, for example : 'findbugs:DMI_USELESS_SUBSTRING'.")
       .createParam("languages", "Comma-separated list of language keys")
       .createParam("repositories", "Comma-separated list of repositories")
       .createParam("severities", "Comma-separated list of severities. Possible values: INFO | MINOR | MAJOR | CRITICAL | BLOCKER.")