aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorBelen Pruvost <belen.pruvost@sonarsource.com>2022-04-19 17:07:14 +0200
committersonartech <sonartech@sonarsource.com>2022-04-29 20:03:18 +0000
commit429d325a10ffb2e8ba55e397d07006c4c4062ea5 (patch)
tree9c90ae34dd600c42f77602ce263cd612f7856a1a /sonar-ws
parent20537fc4569b2b47d04ae52ee12ed8e825285884 (diff)
downloadsonarqube-429d325a10ffb2e8ba55e397d07006c4c4062ea5.tar.gz
sonarqube-429d325a10ffb2e8ba55e397d07006c4c4062ea5.zip
SONAR-16261 - Endpoint to search for Projects a user can scan
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-projectanalyses.proto1
-rw-r--r--sonar-ws/src/main/protobuf/ws-projects.proto10
2 files changed, 11 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-projectanalyses.proto b/sonar-ws/src/main/protobuf/ws-projectanalyses.proto
index 7a8ab2e5dd3..c435380d59a 100644
--- a/sonar-ws/src/main/protobuf/ws-projectanalyses.proto
+++ b/sonar-ws/src/main/protobuf/ws-projectanalyses.proto
@@ -87,3 +87,4 @@ message Project {
optional string oldBranch = 5;
optional string newBranch = 6;
}
+
diff --git a/sonar-ws/src/main/protobuf/ws-projects.proto b/sonar-ws/src/main/protobuf/ws-projects.proto
index d20ba59fb2d..db29fdb2a85 100644
--- a/sonar-ws/src/main/protobuf/ws-projects.proto
+++ b/sonar-ws/src/main/protobuf/ws-projects.proto
@@ -73,3 +73,13 @@ message SearchWsResponse {
optional string revision = 8;
}
}
+
+// WS api/projects/search_my_scannable_projects
+message SearchMyScannableProjectsResponse {
+ message Project {
+ optional string key = 1;
+ optional string name = 2;
+ }
+
+ repeated Project projects = 1;
+}