lgtm.com

The REST API for LGTM provides data so that you can customize how you integrate LGTM analysis into your workflow. It includes the following resources: * / (API root)—get version information or download the specificati

🔑 bearer 29 endpoints developer_tools
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (9 total)

pip install LGTM
npm install kontext-sdk
npm install IzzyHttp
mendix-nodejs-sdk ✓ Official
# See https://github.com/lgtm-migrator/mendix-nodejs-sdk
trustchain-sdk ✓ Official
# See https://github.com/lgtm-migrator/trustchain-sdk
sdk ✓ Official
# See https://github.com/lgtm-migrator/sdk
# See https://github.com/hillcameron729-lgtm/Open-sdk
# See https://github.com/kolyastarodubstev-lgtm/sdkkdskdsk
# See https://github.com/shivamdev-lgtm/megasdk-python-docker
curl examples
Version information
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://lgtm.com/api/v1.0/
API specification
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://lgtm.com/api/v1.0/openapi
List projects
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://lgtm.com/api/v1.0/projects
Endpoints (29 total)
GET
/
Version information
GET
/openapi
API specification
GET
/projects
List projects
GET
/system/health
Get a summary of the application's health
GET
/system/metrics
Get the identifiers and descriptions of the usage metrics
GET
/projects/{project-id}
Get project by numeric identifier
GET
/analyses/{analysis-id}
Get analysis summary
GET
/codereviews/{review-id}
Get results of code review
GET
/queryjobs/{queryjob-id}
Get the status of a query job
GET
/operations/{operation-id}
Get operation status
GET
/system/metrics/{metric-id}
Get the computed values of the specified metric
GET
/analyses/{analysis-id}/alerts
Get detailed alert information
At a glance
Total SDKs9
Languages4
Endpoints29
Authbearer
Categories1
https://lgtm.com/api/v1.0