From 1230b06fa26f9cc032c15d39f3563867d9d2914b Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Mon, 16 Feb 2015 15:52:58 +0100 Subject: [PATCH] SONAR-6003 Add inline documentation for api/resources WS response --- .../sonar/server/component/ws/resources-example-index.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/sonar-server/src/main/resources/org/sonar/server/component/ws/resources-example-index.json b/server/sonar-server/src/main/resources/org/sonar/server/component/ws/resources-example-index.json index 78e28adf94e..905f3bb54a0 100644 --- a/server/sonar-server/src/main/resources/org/sonar/server/component/ws/resources-example-index.json +++ b/server/sonar-server/src/main/resources/org/sonar/server/component/ws/resources-example-index.json @@ -8,16 +8,23 @@ "date": "2012-08-10T04:03:51+0200", "creationDate": "2012-08-10T04:03:51+0200", "lname": "Sonar", + + // Only available at file level "lang": "java", + + // Only available at project and module levels "version": "3.3-SNAPSHOT", "description": "Open source platform for continuous inspection of code quality", + // Description of differential periods "p1": "previous_analysis", "p1p": "2012-08-09", "p1d": "2012-08-09T04:04:01+0200", "p2": "days", "p2p": "7", "p2d": "2012-08-03T04:03:51+0200", + + // Values for the selected metrics "msr": [ { "key": "coverage", -- 2.39.5