]> source.dussan.org Git - sonarqube.git/commitdiff
Add some comments example in /api/issues/show WS
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 2 Jun 2014 12:39:26 +0000 (14:39 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 2 Jun 2014 12:39:26 +0000 (14:39 +0200)
sonar-server/src/main/resources/org/sonar/server/issue/ws/example-show.json

index 9a65cddc9a920d9dfc9a1cbbd7e30ece9a498611..f0a4edc287c355ed4ac96419dc56643e0becbae7 100644 (file)
       "set_severity",
       "link-to-jira"
     ],
-    "comments": [ ],
+    "comments": [
+      {
+        "key": "ea2fa158-18f7-4c7a-b60b-30c668c490ba",
+        "userName": "John Smith",
+        "raw": "Ignore for security reasons",
+        "html": "Ignore for security reasons",
+        "createdAt": "2014-04-14T23:04:29+0100",
+        "fCreatedAge": "2 months",
+        "updatable": false
+      }
+    ],
     "changelog": [
       {
         "creationDate": "2014-02-14T23:04:29+0100",