diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-09-23 09:12:15 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-09-26 16:21:11 +0200 |
commit | b4f6625ff1b3a35d316306d695c8bc7e2a6d0b05 (patch) | |
tree | f46384989abab465a723901ad4e181ff255b6a50 /sonar-ws/src/main/protobuf | |
parent | 28248a5effa3c9f70a3ca63c3306ed6241b9ff3e (diff) | |
download | sonarqube-b4f6625ff1b3a35d316306d695c8bc7e2a6d0b05.tar.gz sonarqube-b4f6625ff1b3a35d316306d695c8bc7e2a6d0b05.zip |
SONAR-8096 add WS /api/organizations/search
Diffstat (limited to 'sonar-ws/src/main/protobuf')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-organizations.proto | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-organizations.proto b/sonar-ws/src/main/protobuf/ws-organizations.proto index 775e948bcf8..7650128baaf 100644 --- a/sonar-ws/src/main/protobuf/ws-organizations.proto +++ b/sonar-ws/src/main/protobuf/ws-organizations.proto @@ -27,13 +27,18 @@ option optimize_for = SPEED; // WS api/organizations/create message CreateWsResponse { optional Organization organization = 1; +} + +// WS api/organizations/search +message SearchWsResponse { + repeated Organization organizations = 1; +} - message Organization { - optional string id = 1; - optional string key = 2; - optional string name = 3; - optional string description = 4; - optional string url = 5; - optional string avatar = 6; - } +message Organization { + optional string id = 1; + optional string key = 2; + optional string name = 3; + optional string description = 4; + optional string url = 5; + optional string avatar = 6; } |