diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2021-06-23 15:48:36 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-07-07 20:03:24 +0000 |
commit | 71fa583b7015d05cec603d3829a2616e9e18c2f3 (patch) | |
tree | f9eec95d5a9362da05e8911d3c7b0ded8c2239a3 /sonar-ws-generator/src | |
parent | e4a624a42ffe8188a93d800805cf771db503cee4 (diff) | |
download | sonarqube-71fa583b7015d05cec603d3829a2616e9e18c2f3.tar.gz sonarqube-71fa583b7015d05cec603d3829a2616e9e18c2f3.zip |
SONAR-10762 Drop Custom Measures UI
Diffstat (limited to 'sonar-ws-generator/src')
-rw-r--r-- | sonar-ws-generator/src/main/resources/snapshot-of-api.json | 197 |
1 files changed, 0 insertions, 197 deletions
diff --git a/sonar-ws-generator/src/main/resources/snapshot-of-api.json b/sonar-ws-generator/src/main/resources/snapshot-of-api.json index bf174e9153c..2a036eb3a85 100644 --- a/sonar-ws-generator/src/main/resources/snapshot-of-api.json +++ b/sonar-ws-generator/src/main/resources/snapshot-of-api.json @@ -873,203 +873,6 @@ ] }, { - "path": "api/custom_measures", - "since": "5.2", - "description": "Manage custom measures for a project. See also api/metrics.", - "actions": [ - { - "key": "create", - "description": "Create a custom measure.<br /> The project id or the project key must be provided (only project and module custom measures can be created). The metric id or the metric key must be provided.<br/>Requires 'Administer System' permission or 'Administer' permission on the project.", - "since": "5.2", - "internal": false, - "post": true, - "hasResponseExample": false, - "changelog": [], - "params": [ - { - "key": "description", - "description": "Description", - "required": false, - "internal": false, - "exampleValue": "Team size growing." - }, - { - "key": "metricId", - "description": "Metric id", - "required": false, - "internal": false, - "exampleValue": "16" - }, - { - "key": "metricKey", - "description": "Metric key", - "required": false, - "internal": false, - "exampleValue": "ncloc" - }, - { - "key": "projectId", - "description": "Project id", - "required": false, - "internal": false, - "exampleValue": "ce4c03d6-430f-40a9-b777-ad877c00aa4d" - }, - { - "key": "projectKey", - "description": "Project key", - "required": false, - "internal": false, - "exampleValue": "my_project" - }, - { - "key": "value", - "description": "Measure value. Value type depends on metric type:<ul><li>INT - type: integer</li><li>FLOAT - type: double</li><li>PERCENT - type: double</li><li>BOOL - the possible values are true or false</li><li>STRING - type: string</li><li>MILLISEC - type: integer</li><li>DATA - type: string</li><li>LEVEL - the possible values are OK, WARN, ERROR</li><li>DISTRIB - type: string</li><li>RATING - type: double</li><li>WORK_DUR - long representing the number of minutes</li></ul>", - "required": true, - "internal": false, - "exampleValue": "47" - } - ] - }, - { - "key": "delete", - "description": "Delete a custom measure.<br /> Requires 'Administer System' permission or 'Administer' permission on the project.", - "since": "5.2", - "internal": false, - "post": true, - "hasResponseExample": false, - "changelog": [], - "params": [ - { - "key": "id", - "description": "Id", - "required": true, - "internal": false, - "exampleValue": "24" - } - ] - }, - { - "key": "metrics", - "description": "List all custom metrics for which no custom measure already exists on a given project.<br /> The project id or project key must be provided.<br />Requires 'Administer System' permission or 'Administer' permission on the project.", - "since": "5.2", - "internal": true, - "post": false, - "hasResponseExample": true, - "changelog": [], - "params": [ - { - "key": "projectId", - "description": "Project id", - "required": false, - "internal": false, - "exampleValue": "ce4c03d6-430f-40a9-b777-ad877c00aa4d" - }, - { - "key": "projectKey", - "description": "Project key", - "required": false, - "internal": false, - "exampleValue": "my_project" - } - ] - }, - { - "key": "search", - "description": "List custom measures. The project id or project key must be provided.<br />Requires 'Administer System' permission or 'Administer' permission on the project.", - "since": "5.2", - "internal": false, - "post": false, - "hasResponseExample": true, - "changelog": [], - "params": [ - { - "key": "f", - "description": "Comma-separated list of the fields to be returned in response. All the fields are returned by default.", - "required": false, - "internal": false, - "possibleValues": [ - "projectId", - "projectKey", - "value", - "description", - "metric", - "createdAt", - "updatedAt", - "user", - "pending" - ] - }, - { - "key": "p", - "description": "1-based page number", - "required": false, - "internal": false, - "defaultValue": "1", - "exampleValue": "42", - "deprecatedKey": "pageIndex", - "deprecatedKeySince": "5.2" - }, - { - "key": "projectId", - "description": "Project id", - "required": false, - "internal": false, - "exampleValue": "ce4c03d6-430f-40a9-b777-ad877c00aa4d" - }, - { - "key": "projectKey", - "description": "Project key", - "required": false, - "internal": false, - "exampleValue": "my_project" - }, - { - "key": "ps", - "description": "Page size. Must be greater than 0 and less than 500", - "required": false, - "internal": false, - "defaultValue": "100", - "exampleValue": "20", - "deprecatedKey": "pageSize", - "deprecatedKeySince": "5.2", - "maximumValue": 500 - } - ] - }, - { - "key": "update", - "description": "Update a custom measure. Value and/or description must be provided<br />Requires 'Administer System' permission or 'Administer' permission on the project.", - "since": "5.2", - "internal": false, - "post": true, - "hasResponseExample": false, - "changelog": [], - "params": [ - { - "key": "description", - "required": false, - "internal": false, - "exampleValue": "Team size growing." - }, - { - "key": "id", - "description": "id", - "required": true, - "internal": false, - "exampleValue": "42" - }, - { - "key": "value", - "description": "Measure value. Value type depends on metric type:<ul><li>INT - type: integer</li><li>FLOAT - type: double</li><li>PERCENT - type: double</li><li>BOOL - the possible values are true or false</li><li>STRING - type: string</li><li>MILLISEC - type: integer</li><li>DATA - type: string</li><li>LEVEL - the possible values are OK, WARN, ERROR</li><li>DISTRIB - type: string</li><li>RATING - type: double</li><li>WORK_DUR - long representing the number of minutes</li></ul>", - "required": false, - "internal": false, - "exampleValue": "true" - } - ] - } - ] - }, - { "path": "api/duplications", "since": "4.4", "description": "Get duplication information for a project.", |