| Table of Contents |
Get a List of Manual Measures
| Description | Get a list of manual measures |
URL | /api/manual_measures |
| Method | GET |
Security | Requires User role on the project |
Examples
Get all the manual measures on project myProject:
Get the manual measures of metric business_value on project myProject:
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 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 to create an event. |
Examples
- Create an event on project org.apache.struts:struts with administrator admin/admin:
- Category: Alert
- Name: myAlertName
Description: myAlertDescription
Parameters
Parameter | Description | Required | Default Value | Value | ||
|---|---|---|---|---|---|---|
resource | id or key of the project | ? | org.codehaus.sonar:sonar | |||
category | Category | ? | Version | |||
name |
| |||||
description |
| |||||
| Autres paramètres ??? | ||||||
|

