The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for code scanning
Use the REST API to retrieve and update code scanning alerts from a repository.
- REST API endpoints for code scanning
- List code scanning alerts for an organization
- List code scanning alerts for a repository
- Get a code scanning alert
- Update a code scanning alert
- Get the status of an autofix for a code scanning alert
- Create an autofix for a code scanning alert
- Commit an autofix for a code scanning alert
- List instances of a code scanning alert
- List code scanning analyses for a repository
- Get a code scanning analysis for a repository
- Delete a code scanning analysis from a repository
- List CodeQL databases for a repository
- Get a CodeQL database for a repository
- Delete a CodeQL database
- Create a CodeQL variant analysis
- Get the summary of a CodeQL variant analysis
- Get the analysis status of a repository in a CodeQL variant analysis
- Get a code scanning default setup configuration
- Update a code scanning default setup configuration
- Upload an analysis as SARIF data
- Get information about a SARIF upload