aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorMalek-Ben-Anes <malek.benanes@sonarsource.com>2022-10-25 14:07:15 +0200
committersonartech <sonartech@sonarsource.com>2022-10-28 20:03:23 +0000
commitb8198f32a6c687bdcdd37f4579b5678e0b372198 (patch)
treefdb730c7043d29dd301aa82d591d9c171657940c /sonar-ws
parentce409098feab4f5f5ca8168cd995775e1fa32cbb (diff)
downloadsonarqube-b8198f32a6c687bdcdd37f4579b5678e0b372198.tar.gz
sonarqube-b8198f32a6c687bdcdd37f4579b5678e0b372198.zip
SONAR-17513 Deprecated legacy pagination parameters in APIs results
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-rules.proto8
1 files changed, 5 insertions, 3 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto
index 7ec1c827f9f..96c6fb64797 100644
--- a/sonar-ws/src/main/protobuf/ws-rules.proto
+++ b/sonar-ws/src/main/protobuf/ws-rules.proto
@@ -41,13 +41,15 @@ message ListResponse {
// WS api/rules/search
message SearchResponse {
- optional int64 total = 1;
- optional int32 p = 2;
- optional int64 ps = 3;
+ optional int64 total = 1 [deprecated=true];
+ optional int32 p = 2 [deprecated=true];
+ optional int64 ps = 3 [deprecated=true];
+
repeated Rule rules = 4;
optional Actives actives = 5;
optional QProfiles qProfiles = 6;
optional sonarqube.ws.commons.Facets facets = 7;
+ optional sonarqube.ws.commons.Paging paging = 8;
}
//WS api/rules/show