aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorJacek Poreda <jacek.poreda@sonarsource.com>2023-07-04 09:08:31 +0200
committersonartech <sonartech@sonarsource.com>2023-07-19 20:03:05 +0000
commit1db20751d8d12bd3e3d93ce85c91a171ff3bca2a (patch)
treee6f7eb560edcbd17ec3ac570c96fa8575bcd13d7 /sonar-ws
parent3b618651aa506286bcae73648408f0a787ba2f4f (diff)
downloadsonarqube-1db20751d8d12bd3e3d93ce85c91a171ff3bca2a.tar.gz
sonarqube-1db20751d8d12bd3e3d93ce85c91a171ff3bca2a.zip
SONAR-19728 add api/issues/list WS action
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java1
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto6
2 files changed, 7 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
index 8791003f93f..634b5962bcc 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
@@ -27,6 +27,7 @@ public class IssuesWsParameters {
public static final String CONTROLLER_ISSUES = "api/issues";
public static final String ACTION_SEARCH = "search";
+ public static final String ACTION_LIST = "list";
public static final String ACTION_CHANGELOG = "changelog";
public static final String ACTION_ADD_COMMENT = "add_comment";
public static final String ACTION_EDIT_COMMENT = "edit_comment";
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index 1956a10558a..bb1e56e870c 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -296,3 +296,9 @@ message Flow {
optional string description = 2;
optional sonarqube.ws.commons.FlowType type = 3;
}
+
+// Response of GET api/issues/list
+message ListWsResponse {
+ optional sonarqube.ws.commons.Paging paging = 1;
+ repeated Issue issues = 2;
+}