diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-08-17 18:00:26 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-08-25 10:03:31 +0200 |
commit | 1e9159e3b8dad9afa097718259866122a866b101 (patch) | |
tree | 2364babc426843659e81af1c4754cd3ded0bdcb2 /sonar-ws/src/main/protobuf/ws-settings.proto | |
parent | 8aa3feee31f00009dbed4d9c78d74003480b754d (diff) | |
download | sonarqube-1e9159e3b8dad9afa097718259866122a866b101.tar.gz sonarqube-1e9159e3b8dad9afa097718259866122a866b101.zip |
SONAR-7969 Create /api/settings/values WS
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-settings.proto')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-settings.proto | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-settings.proto b/sonar-ws/src/main/protobuf/ws-settings.proto index c4f09b10fe1..345aef7c675 100644 --- a/sonar-ws/src/main/protobuf/ws-settings.proto +++ b/sonar-ws/src/main/protobuf/ws-settings.proto @@ -66,3 +66,21 @@ enum Type { PROPERTY_SET = 12; } +// Response of GET api/settings/values +message ValuesWsResponse { + repeated Value values = 1; +} + +message Value { + optional string key = 1; + optional string value = 2; + repeated string values = 3; + map<string, SetValue> setValues = 4; + optional bool isDefault = 5; + optional bool isInherited = 6; +} + +message SetValue { + repeated string values = 1; +} + |