From 5ff3a01b2fafe930ea582cc637564e24e9ce66da Mon Sep 17 00:00:00 2001 From: Guillaume Jambet Date: Mon, 11 Dec 2017 18:00:55 +0100 Subject: SONAR-10184 Add stub for homepage fields to api/users/current --- sonar-ws/src/main/protobuf/ws-users.proto | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'sonar-ws/src') 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; + } +} -- cgit v1.2.3