選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

ws-projects.proto 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // SonarQube, open source software quality management tool.
  2. // Copyright (C) 2008-2016 SonarSource
  3. // mailto:contact AT sonarsource DOT com
  4. //
  5. // SonarQube is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU Lesser General Public
  7. // License as published by the Free Software Foundation; either
  8. // version 3 of the License, or (at your option) any later version.
  9. //
  10. // SonarQube is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. // Lesser General Public License for more details.
  14. //
  15. // You should have received a copy of the GNU Lesser General Public License
  16. // along with this program; if not, write to the Free Software Foundation,
  17. // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. syntax = "proto2";
  19. package sonarqube.ws.projects;
  20. import "ws-commons.proto";
  21. option java_package = "org.sonarqube.ws";
  22. option java_outer_classname = "Projects";
  23. option optimize_for = SPEED;
  24. message SearchMyProjectsWsResponse {
  25. message Project {
  26. optional string id = 1;
  27. optional string key = 2;
  28. optional string name = 4;
  29. optional string description = 5;
  30. optional string lastAnalysisDate = 6;
  31. optional string qualityGate = 7;
  32. repeated Link links = 8;
  33. }
  34. message Link {
  35. optional string name = 1;
  36. optional string type = 2;
  37. optional string href = 3;
  38. }
  39. optional sonarqube.ws.commons.Paging paging = 1;
  40. repeated Project projects = 2;
  41. }
  42. message CreateWsResponse {
  43. optional Project project = 1;
  44. message Project {
  45. optional string key = 1;
  46. optional string name = 2;
  47. optional string qualifier = 3;
  48. optional string visibility = 4;
  49. }
  50. }
  51. // WS api/projects/search
  52. message SearchWsResponse {
  53. optional sonarqube.ws.commons.Paging paging = 1;
  54. repeated Component components = 2;
  55. message Component {
  56. optional string organization = 1;
  57. optional string id = 2;
  58. optional string key = 3;
  59. optional string name = 4;
  60. optional string qualifier = 5;
  61. optional string visibility = 6;
  62. optional string lastAnalysisDate = 7;
  63. }
  64. }
  65. // WS api/projects/prepare_bulk_update_key
  66. message BulkUpdateKeyWsResponse {
  67. repeated Key keys = 1;
  68. message Key {
  69. optional string key = 1;
  70. optional string newKey = 2;
  71. optional bool duplicate = 3;
  72. }
  73. }