aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-09-27 12:28:56 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-10-02 17:18:15 +0200
commit7c42d81e08599b315076118e961361a96df62323 (patch)
tree6312a45b61ab024189dfec6795f7b417aab004ab /sonar-ws/src
parentdd0fa0f97aece83d26772a839ead80dc20a5afad (diff)
downloadsonarqube-7c42d81e08599b315076118e961361a96df62323.tar.gz
sonarqube-7c42d81e08599b315076118e961361a96df62323.zip
SONAR-1330 Return available actions in api/qualityprofiles/search
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualityprofiles.proto9
1 files changed, 6 insertions, 3 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto b/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
index cd3143aa43a..ae1097dd5b5 100644
--- a/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
@@ -49,13 +49,16 @@ message SearchWsResponse {
optional string organization = 15;
optional bool isBuiltIn = 16;
optional Actions actions = 17;
+
+ message Actions {
+ optional bool edit = 1;
+ optional bool setAsDefault = 2;
+ optional bool copy = 3;
+ }
}
message Actions {
optional bool create = 1;
- optional bool edit = 2;
- optional bool setAsDefault = 3;
- optional bool copy = 4;
}
}