repos
Get a repository ruleset
Get a ruleset for a repository.
Note: To prevent leaking sensitive information, the bypass_actors property is only returned if the user making the API request has write access to the ruleset.
get/repos/{owner}/{repo}/rulesets/{ruleset_id}
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.
ruleset_idinteger required
The ID of the ruleset.
Query parameters
includes_parentsboolean
Include rulesets configured at higher levels that apply to this repository
Response
Response