The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for secret scanning
Use the REST API to retrieve and update secret alerts from a repository.
URL: http://docs.github.com/en/rest/secret-scanning
ternal.github.com/en/rest/secret-scanning"/>Use the REST API to retrieve and update secret alerts from a repository.