diff options
author | Jacek Poreda <jacek.poreda@sonarsource.com> | 2023-08-02 09:03:29 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-08-02 20:03:03 +0000 |
commit | 4f214cb37958b2cceddfe33c3bd10d7de260e219 (patch) | |
tree | 129333387b393d0fa3c26354510fcd5f080b4441 /sonar-ws/src/main/protobuf | |
parent | cea8d3b9c04ee7b61be40d50290fe5554d8dd633 (diff) | |
download | sonarqube-4f214cb37958b2cceddfe33c3bd10d7de260e219.tar.gz sonarqube-4f214cb37958b2cceddfe33c3bd10d7de260e219.zip |
Revert "SONAR-19233 Drop deprecated paging response fields"
This reverts commit 9db233a378f3590359054b908c82d06ae095930b.
Diffstat (limited to 'sonar-ws/src/main/protobuf')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-issues.proto | 6 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-rules.proto | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto index aa88ec34083..d545fe7e75d 100644 --- a/sonar-ws/src/main/protobuf/ws-issues.proto +++ b/sonar-ws/src/main/protobuf/ws-issues.proto @@ -29,9 +29,9 @@ option optimize_for = SPEED; // Response of GET api/issues/search message SearchWsResponse { reserved 5; - reserved 1; - reserved 2; - reserved 3; + optional int64 total = 1 [deprecated=true]; + optional int64 p = 2 [deprecated=true]; + optional int32 ps = 3 [deprecated=true]; optional sonarqube.ws.commons.Paging paging = 4; // Total amount of effort, only when the facet "total" is enabled diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto index 2e68e4c0766..e1e242b8b81 100644 --- a/sonar-ws/src/main/protobuf/ws-rules.proto +++ b/sonar-ws/src/main/protobuf/ws-rules.proto @@ -41,9 +41,10 @@ message ListResponse { // WS api/rules/search message SearchResponse { - reserved 1; - reserved 2; - reserved 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; |