repos
Get an enterprise repository ruleset
Changed onGet a repository ruleset for an enterprise.
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.
[!NOTE] The "Enterprise administration" fine-grained permission is not available to callers. To use this API, you must use an OAuth app token or a personal access token (classic).
get/enterprises/{enterprise}/rulesets/{ruleset_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/rulesets/{ruleset_id}
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
ruleset_idinteger required
The ID of the ruleset.
Response
Response
Changes
- breaking
added to the
/response propertyoneOflist for the response status
- breaking
- info
added the optional property
////to the response with the status
- info