aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src')
-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;
+}