aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-03-14 12:27:47 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-03-14 12:28:00 +0100
commit57e19e6ea0b8e23ada345f471a7cb90c82526cbf (patch)
treefbd0486874bca9242f1bd85303653d4ee4e19b5e /sonar-plugin-api
parent6fad9a863175e5c44ad9f1452fb8af13a70af4e5 (diff)
downloadsonarqube-57e19e6ea0b8e23ada345f471a7cb90c82526cbf.tar.gz
sonarqube-57e19e6ea0b8e23ada345f471a7cb90c82526cbf.zip
Complete documentation of WebService and QualityGatesWs
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java
index d23bdeb4c6e..2006472c361 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java
@@ -103,6 +103,8 @@ public interface WebService extends ServerExtension {
* Structure of request URL is <code>http://&lt;server&gt;/&lt>controller path&gt;/&lt;action path&gt;?&lt;parameters&gt;</code>.
*
* @param path the controller path must not start or end with "/". It is recommended to start with "api/"
+ * and to use lower-case format with underscores, for example "api/coding_rules". Usual actions
+ * are "list", "show", "create" and "delete"
*/
public NewController createController(String path) {
return new NewController(this, path);