Cloud infrastructure/devops
lgtm.com
LGTM API specification sandbox and mock API
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](https://lgtm.com/help/lgtm/api/api-v1#LGTM-API-specification-API-root))—get version information or download the specification in OpenAPI format. * `/projects` ([Projects](https://lgtm.com/help/lgtm/api/api-v1#LGTM-API-specifi Writes persist, data moves on a schedule and every change can fire a signed webhook.
- Operations
- 29
- Collections
- -
- Event types
- -
example request
curl https://your-lgtm.slurry.io/api/v1.0/ \
-H "Authorization: Bearer slurry_sim_..."Your simulation gets its own hostname, key and IP allow-list. Built from API version v1.0.
What gets simulated
Collections, relationships and state machines are worked out from the spec when you start the simulation.
- State. Creates, updates and deletes persist and show up in later reads.
- Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
- Webhooks. Every change emits a signed, retried event.
- Failure. Per-endpoint errors, latency and chaos rules, on demand.
Operations
First 12 of 29.
- GET/
- GET/analyses/{analysis-id}
- GET/analyses/{analysis-id}/alerts
- POST/analyses/{project-id}
- GET/analyses/{project-id}/commits/{commit-id}
- POST/codereviews/{project-id}
- GET/codereviews/{review-id}
- GET/issues/{project-id}/{alert-key}
- GET/openapi
- GET/operations/{operation-id}
- GET/projects
- POST/projects