From: Simon Brandhof Date: Tue, 21 May 2019 19:12:32 +0000 (+0200) Subject: SONAR-11950 complete example in doc page "Webhooks" X-Git-Tag: 7.8~165 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=84c34d5279752a7ec892db767e9aa092aadefc9f;p=sonarqube.git SONAR-11950 complete example in doc page "Webhooks" --- diff --git a/server/sonar-docs/src/pages/project-administration/webhooks.md b/server/sonar-docs/src/pages/project-administration/webhooks.md index f547adc7a8b..64e9a4ef5e2 100644 --- a/server/sonar-docs/src/pages/project-administration/webhooks.md +++ b/server/sonar-docs/src/pages/project-administration/webhooks.md @@ -46,10 +46,15 @@ The Payload is a JSON document which includes: ``` { + "serverUrl": "http://localhost:9000", + "taskId": "AVh21JS2JepAEhwQ-b3u", + "status": "SUCCESS", "analysedAt": "2016-11-18T10:46:28+0100", + "revision": "c739069ec7105e01303e8b3065a81141aad9f129", "project": { - "key": "org.sonarqube:example", - "name": "Example" + "key": "myproject", + "name": "My Project", + "url": "https://mycompany.com/sonarqube/dashboard?id=myproject" }, "properties": { }, @@ -89,10 +94,7 @@ The Payload is a JSON document which includes: ], "name": "SonarQube way", "status": "OK" - }, - "serverUrl": "http://localhost:9000", - "status": "SUCCESS", - "taskId": "AVh21JS2JepAEhwQ-b3u" + } } ```