repos
Check if immutable releases are enabled for a repository
Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being enforced by the repository owner. The authenticated user must have admin read access to the repository.
get/repos/{owner}/{repo}/immutable-releases
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 if immutable releases are enabled
Example response
{
"enabled": true
}