aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorGuillaume Jambet <guillaume.jambet@sonarsource.com>2017-12-11 18:00:55 +0100
committerStas Vilchik <stas.vilchik@sonarsource.com>2018-01-02 10:38:10 +0100
commit5ff3a01b2fafe930ea582cc637564e24e9ce66da (patch)
treeac1f1911c759a392d1d2becab9c20c27483b4d71 /sonar-ws/src
parent82d363f3bc37245ea92c77b5c1b0ea418f91dbb5 (diff)
downloadsonarqube-5ff3a01b2fafe930ea582cc637564e24e9ce66da.tar.gz
sonarqube-5ff3a01b2fafe930ea582cc637564e24e9ce66da.zip
SONAR-10184 Add stub for homepage fields to api/users/current
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/protobuf/ws-users.proto13
1 files changed, 12 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-users.proto b/sonar-ws/src/main/protobuf/ws-users.proto
index 474b2a870bf..ca3df0d0641 100644
--- a/sonar-ws/src/main/protobuf/ws-users.proto
+++ b/sonar-ws/src/main/protobuf/ws-users.proto
@@ -107,10 +107,21 @@ message CurrentWsResponse {
optional Permissions permissions = 10;
optional bool showOnboardingTutorial = 11;
optional string avatar = 12;
+ optional Homepage homepage = 13;
message Permissions {
repeated string global = 1;
}
-}
+ enum HomepageType {
+ PROJECT = 1;
+ ORGANIZATION = 2;
+ MY_PROJECTS = 3;
+ MY_ISSUES = 4;
+ }
+ message Homepage {
+ optional HomepageType type = 1;
+ optional string value = 2;
+ }
+}