diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2023-07-10 14:52:20 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-07-19 20:03:05 +0000 |
commit | 7c322c39eb267da94b1875aebd948e7409c6a9a2 (patch) | |
tree | 47ba7fbc0b012104704ced42dc4c76f44943c049 /sonar-ws | |
parent | 1db20751d8d12bd3e3d93ce85c91a171ff3bca2a (diff) | |
download | sonarqube-7c322c39eb267da94b1875aebd948e7409c6a9a2.tar.gz sonarqube-7c322c39eb267da94b1875aebd948e7409c6a9a2.zip |
SONAR-19728 add `api/hotspots/list` endpoint
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-hotspots.proto | 6 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-issues.proto | 1 |
2 files changed, 7 insertions, 0 deletions
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; } |