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.
Use the REST API to retrieve and update code scanning alerts from a repository.
REST API endpoints for code scanning - GitHub Enterprise Cloud Docs