GET
/repos/{owner}/{repo}/immutable-releasesCheck 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.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
200Response if immutable releases are enabled
enabledbooleanrequired
Whether immutable releases are enabled for the repository.
enforced_by_ownerbooleanrequired
Whether immutable releases are enforced by the repository owner.
404Not Found if immutable releases are not enabled for the repository
Error handling
A 404 is returned: Not Found if immutable releases are not enabled for the repository.