From 7c322c39eb267da94b1875aebd948e7409c6a9a2 Mon Sep 17 00:00:00 2001 From: Jacek Date: Mon, 10 Jul 2023 14:52:20 +0200 Subject: SONAR-19728 add `api/hotspots/list` endpoint --- sonar-ws/src/main/protobuf/ws-hotspots.proto | 6 ++++++ sonar-ws/src/main/protobuf/ws-issues.proto | 1 + 2 files changed, 7 insertions(+) (limited to 'sonar-ws') diff --git a/sonar-ws/src/main/protobuf/ws-hotspots.proto b/sonar-ws/src/main/protobuf/ws-hotspots.proto index 58fcfc367f8..ef4721c44dd 100644 --- a/sonar-ws/src/main/protobuf/ws-hotspots.proto +++ b/sonar-ws/src/main/protobuf/ws-hotspots.proto @@ -53,6 +53,12 @@ message SearchWsResponse { } } +// Response of GET api/hotspots/list +message ListWsResponse { + optional sonarqube.ws.commons.Paging paging = 1; + repeated SearchWsResponse.Hotspot hotspots = 2; +} + // Response of GET api/hotspots/show message ShowWsResponse { optional string key = 1; diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto index bb1e56e870c..d545fe7e75d 100644 --- a/sonar-ws/src/main/protobuf/ws-issues.proto +++ b/sonar-ws/src/main/protobuf/ws-issues.proto @@ -301,4 +301,5 @@ message Flow { message ListWsResponse { optional sonarqube.ws.commons.Paging paging = 1; repeated Issue issues = 2; + repeated Component components = 3; } -- cgit v1.2.3