aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rekveld <mark.rekveld@sonarsource.com>2020-06-26 19:34:36 +0200
committersonartech <sonartech@sonarsource.com>2020-07-01 20:05:53 +0000
commitdece0f39a97d4bb6896b488b28f70a11d43de61c (patch)
treedd4a4a984056a51bbfc2b253ec392a1c8a0c2908
parent4520375b663a3cbf699495e106b174cc4e2e3283 (diff)
downloadsonarqube-dece0f39a97d4bb6896b488b28f70a11d43de61c.tar.gz
sonarqube-dece0f39a97d4bb6896b488b28f70a11d43de61c.zip
SONAR-13475 - List Github Enterprise organizations API (#2870)
-rw-r--r--sonar-ws/src/main/protobuf/ws-alm_integrations.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-alm_integrations.proto b/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
index f3849b09662..d595065e712 100644
--- a/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
+++ b/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
@@ -20,6 +20,8 @@ syntax = "proto2";
package sonarqube.ws.almsetting;
+import "ws-commons.proto";
+
option java_package = "org.sonarqube.ws";
option java_outer_classname = "AlmIntegrations";
option optimize_for = SPEED;
@@ -52,3 +54,14 @@ message BBSProject {
message GithubClientIdWsResponse {
optional string clientId = 1;
}
+
+// WS api/alm_integrations/list_github_enterprise_organizations
+message ListGithubEnterpriseOrganizationsWsResponse {
+ optional sonarqube.ws.commons.Paging paging = 1;
+ repeated GithubEnterpriseOrganization organizations = 2;
+}
+
+message GithubEnterpriseOrganization {
+ optional string key = 1;
+ optional string name = 2;
+}