[API] response example of actions for api/project_analyses is not valid


(Magicsong) #1

I use latest docker image of sonarqube.
The response example is like as following:

{
  "event": {
    "analysis": "A2",
    "key": "E1",
    "category": "OTHER",
    "name": "My Custom Event",
  }
,

there is a comma after name. The other actions of api/project_analyses also have such mistake


(Janos Gyerik) #3

Well-spotted, thanks! I created a ticket to fix it: https://jira.sonarsource.com/browse/SONAR-11457

If you are aware of other endpoints out of api/project_analyses with similar mistakes, please let us know in this thread. (If not then nevermind :wink: )