reposCheckImmutableReleases
Check if immutable releases are enabled for a repository
GET /repos/{owner}/{repo}/immutable-releases HTTP/1.1Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"title": "Check immutable releases",
"description": "Check immutable releases",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"example": true,
"description": "Whether immutable releases are enabled for the repository."
},
"enforced_by_owner": {
"type": "boolean",
"example": false,
"description": "Whether immutable releases are enforced by the repository owner."
}
},
"required": [
"enabled",
"enforced_by_owner"
]
}