repos
Get the hash algorithm for a repository
Changed onReturns the hash algorithm used to store repository objects.
get/repos/{owner}/{repo}/hash-algorithm
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/repos/{owner}/{repo}/hash-algorithm
- Auth: none declared
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Response
Response
Example response
{
"hash_algorithm": "sha1"
}Changes
- info
endpoint added
- info