LGTM administrators can use this endpoint to list the usage metrics that are available to download.
643 matches
22 actions
LGTM API specification
22 actions
- Add a project to LGTMPOSTv1.0.0
- API specificationGETv1.0.0
- Delete project by numeric identifierDELETEv1.0.0
- Fetch the results of a query job for a specific projectGETv1.0.0
- Get analysis summaryGETv1.0.0
- Get analysis summary for a specific commitGETv1.0.0
- Get configuration for a project identified by numeric identifierGETv1.0.0
- Get detailed alert informationGETv1.0.0
- Get detailed alert information for an issueGETv1.0.0
- Get operation statusGETv1.0.0
- Get project by numeric identifierGETv1.0.0
- Get project by URL identifierGETv1.0.0
- Get results of code reviewGETv1.0.0
- Get the computed values of the specified metricGETv1.0.0
- Get the identifiers and descriptions of the usage metricsGETv1.0.0
- Get the status of a query jobGETv1.0.0
- List projectsGETv1.0.0
- Provide a summary of results for the projects in the query jobGETv1.0.0
- Run a CodeQL query on one or more projectsPOSTv1.0.0
- Run analysis of a specific commitPOSTv1.0.0
- Run code review for a patchPOSTv1.0.0
- Set the administrator configuration for a project identified by numeric identifierPUTv1.0.0
Other/LGTM API specification
Get the identifiers and descriptions of the usage metrics
v1.0.0Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
{
"type": "object",
"properties": {
"data": {
"type": "array",
"description": "The list of names and identifiers by which the metrics are referenced.",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "The name by which the metric is listed in the user interface."
},
"metric-id": {
"type": "string",
"description": "The identifier by which this metric is referenced in the API."
}
}
}
}
}
}