optional Component component = 1;
message Component {
- optional string key = 1;
- optional string name = 2;
- repeated Warning warnings = 3;
- optional string branch = 4;
- optional string pullRequest = 5;
+ reserved 1; //drop organization
+ optional string key = 2;
+ optional string name = 3;
+ repeated Warning warnings = 4;
+ optional string branch = 5;
+ optional string pullRequest = 6;
}
message Warning {
}
message Task {
+ reserved 20; //drop organization
optional string id = 1;
optional string type = 2;
optional string componentId = 3;
optional string errorStacktrace = 17;
optional string scannerContext = 18;
optional bool hasScannerContext = 19;
- optional string branch = 20;
- optional sonarqube.ws.commons.BranchType branchType = 21;
- optional string errorType = 22;
- optional string pullRequest = 23;
- optional string pullRequestTitle = 24;
- optional int32 warningCount = 25;
- repeated string warnings = 26;
+ optional string branch = 21;
+ optional sonarqube.ws.commons.BranchType branchType = 22;
+ optional string errorType = 23;
+ optional string pullRequest = 24;
+ optional string pullRequestTitle = 25;
+ optional int32 warningCount = 26;
+ repeated string warnings = 27;
}
enum TaskStatus {
// WS api/components/suggestions
message SuggestionsWsResponse {
+ reserved 3; //drop organization
repeated Category results = 1;
optional string warning = 2;
- repeated Project projects = 3;
+ repeated Project projects = 4;
message Category {
- optional string q = 1;
- repeated Suggestion items = 2;
+ optional string q = 1;
+ repeated Suggestion items = 2;
optional int64 more = 3;
}
message Suggestion {
+ reserved 4; //drop organization
optional string key = 1;
optional string name = 2;
optional string match = 3;
// WS api/components/search_projects
message SearchProjectsWsResponse {
+ reserved 2; //drop organization
optional sonarqube.ws.commons.Paging paging = 1;
- repeated Component components = 2;
- optional sonarqube.ws.commons.Facets facets = 3;
+ repeated Component components = 3;
+ optional sonarqube.ws.commons.Facets facets = 4;
}
// WS api/components/provisioned
}
message Component {
+ reserved 12; //drop organization
optional string key = 2;
optional string refId = 3;
optional string refKey = 4;
}
}
-
-
-
}
message Favorite {
+ reserved 4; //drop organization
optional string key = 1;
optional string name = 2;
optional string qualifier = 3;
}
message Component {
- optional string key = 1;
- optional string qualifier = 2;
- optional string name = 3;
- optional string longName = 4;
- optional string path = 5;
- optional string branch = 6;
- optional string pullRequest = 7;
+ reserved 1; //drop organization
+ optional string key = 2;
+ optional string qualifier = 3;
+ optional string name = 4;
+ optional string longName = 5;
+ optional string path = 6;
+ optional string branch = 7;
+ optional string pullRequest = 8;
}
message Rule {
}
message Issue {
+ reserved 29; //drop organization
+
optional string key = 1;
optional string rule = 2;
optional sonarqube.ws.commons.Severity severity = 3;
optional string project = 6;
optional string subProject = 7;
optional int32 line = 8;
- optional string hash = 30;
+ optional string hash = 31;
optional sonarqube.ws.commons.TextRange textRange = 9;
repeated sonarqube.ws.commons.Flow flows = 10;
optional string resolution = 11;
optional sonarqube.ws.commons.RuleType type = 27;
- optional string branch = 29;
- optional string pullRequest = 31;
- optional string externalRuleEngine = 32;
- optional bool fromHotspot = 33;
- optional string scope = 34;
+ optional string branch = 30;
+ optional string pullRequest = 32;
+
+ optional string externalRuleEngine = 33;
+ optional bool fromHotspot = 34;
+ optional string scope = 35;
}
message Transitions {
}
message Component {
+ reserved 11; //drop organization
optional int64 deprecatedId = 1;
optional string key = 2;
optional string uuid = 3;
optional string path = 8;
optional int64 unusedProjectId = 9;
optional int64 unusedSubProjectId = 10;
- optional string branch = 11;
- optional string pullRequest = 12;
+ optional string branch = 12;
+ optional string pullRequest = 13;
}
// Response of GET api/issues/changelog
}
message Notification {
+ reserved 5; //drop organization
optional string channel = 1;
optional string type = 2;
optional string project = 3;