...
Get all the manual measures on project 'myProject':
Code Block language none GET http://localhost:9000/api/manual_measures?resource=myProject&format=jsonGet a the manual measure on metric 'business_value' on project 'myProject':
Code Block language none GET http://localhost:9000/api/manual_measures?resource=myProject&metric=business_value&format=json
Parameters
Parameter | Description | Required | Default Value | Value |
|---|---|---|---|---|
| resource | id or key of the project | Yes | None | org.codehaus.sonar:sonar |
| metric | id or key ???? of a of the manual metric | No | None | business_value |
| format | Response formats: json | No | json |
Create a Manual Measure
| Description | Create a manual measure |
URL | /api/manual_measures |
| Method | POST |
| Security | Requires Project Administrator role on the project |
...
Parameter | Description | Required | Default Value | Value | |||
|---|---|---|---|---|---|---|---|
resource | id or key of the project | Yes | None | org.codehaus.sonar:sonar | |||
metric | Key of the manual metric | Yes | None | business_value | |||
val | Value Decimal value of the manual measure | Yes (or text is set) | None | ||||
??????? Pas de description possible ????? |
| text | Text value of the manual measure | Yes (or val is set) | None |
Delete a Manual Measure
| Description | Delete a manual measure |
URL | /api/manual_measures |
| Method | DELETE |
| Security | Requires Project Administrator role on the project |
...
Delete manual measure 'business_value' on project 'myProject':
Code Block language none curl -u admin:admin -X DELETE "http://localhost:9000/api/manual_measures?resource=myProject&metric=business_value ???????????????????????????????????"
Parameters
Parameter | Description | Required | Default Value | Value |
|---|---|---|---|---|
resource | id or key of the project | Yes | None | org.codehaus.sonar:sonar |
metric | Key of the manual metric | Yes | None | business_value |

