diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2015-02-16 15:52:58 +0100 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2015-02-16 15:53:04 +0100 |
commit | 1230b06fa26f9cc032c15d39f3563867d9d2914b (patch) | |
tree | 3d5955fadc8d3cbb9457a0e9c115bb415eb5a69a | |
parent | 8b965157694f6a83e12fbfc3a65ed1a351130fb2 (diff) | |
download | sonarqube-1230b06fa26f9cc032c15d39f3563867d9d2914b.tar.gz sonarqube-1230b06fa26f9cc032c15d39f3563867d9d2914b.zip |
SONAR-6003 Add inline documentation for api/resources WS response
-rw-r--r-- | server/sonar-server/src/main/resources/org/sonar/server/component/ws/resources-example-index.json | 7 |
1 files changed, 7 insertions, 0 deletions
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", |