You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

show-example.json 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "key": "AW9mgJw6eFC3pGl94Wrf",
  3. "component": {
  4. "organization": "default-organization",
  5. "key": "com.sonarsource:test-project:src/main/java/com/sonarsource/FourthClass.java",
  6. "qualifier": "FIL",
  7. "name": "FourthClass.java",
  8. "longName": "src/main/java/com/sonarsource/FourthClass.java",
  9. "path": "src/main/java/com/sonarsource/FourthClass.java"
  10. },
  11. "project": {
  12. "organization": "default-organization",
  13. "key": "com.sonarsource:test-project",
  14. "qualifier": "TRK",
  15. "name": "test-project",
  16. "longName": "test-project"
  17. },
  18. "rule": {
  19. "key": "java:S4787",
  20. "name": "rule-name",
  21. "securityCategory": "others",
  22. "vulnerabilityProbability": "LOW"
  23. },
  24. "status": "TO_REVIEW",
  25. "line": 10,
  26. "message": "message",
  27. "assignee": "joe",
  28. "author": "joe",
  29. "creationDate": "2020-01-02T15:43:10+0100",
  30. "updateDate": "2020-01-02T15:43:10+0100",
  31. "changelog": [
  32. {
  33. "user": "joe",
  34. "userName": "Joe",
  35. "creationDate": "2020-01-02T14:44:55+0100",
  36. "diffs": [
  37. {
  38. "key": "diff-key-0",
  39. "newValue": "new-value-0",
  40. "oldValue": "old-value-0"
  41. }
  42. ],
  43. "avatar": "my-avatar",
  44. "isUserActive": true
  45. },
  46. {
  47. "user": "joe",
  48. "userName": "Joe",
  49. "creationDate": "2020-01-02T14:44:55+0100",
  50. "diffs": [
  51. {
  52. "key": "diff-key-1",
  53. "newValue": "new-value-1",
  54. "oldValue": "old-value-1"
  55. }
  56. ],
  57. "avatar": "my-avatar",
  58. "isUserActive": true
  59. },
  60. {
  61. "user": "joe",
  62. "userName": "Joe",
  63. "creationDate": "2020-01-02T14:44:55+0100",
  64. "diffs": [
  65. {
  66. "key": "diff-key-2",
  67. "newValue": "new-value-2",
  68. "oldValue": "old-value-2"
  69. }
  70. ],
  71. "avatar": "my-avatar",
  72. "isUserActive": true
  73. }
  74. ],
  75. "comment": [
  76. {
  77. "key": "comment-0",
  78. "login": "Joe",
  79. "htmlText": "html text 0",
  80. "markdown": "markdown 0",
  81. "createdAt": "2020-01-02T14:47:47+0100"
  82. },
  83. {
  84. "key": "comment-1",
  85. "login": "Joe",
  86. "htmlText": "html text 1",
  87. "markdown": "markdown 1",
  88. "createdAt": "2020-01-02T14:47:47+0100"
  89. },
  90. {
  91. "key": "comment-2",
  92. "login": "Joe",
  93. "htmlText": "html text 2",
  94. "markdown": "markdown 2",
  95. "createdAt": "2020-01-02T14:47:47+0100"
  96. }
  97. ],
  98. "users": [
  99. {
  100. "login": "joe",
  101. "name": "Joe",
  102. "active": true
  103. }
  104. ],
  105. "canChangeStatus": true
  106. }