Get all repository rulesets
Changed onGet all the rulesets for a repository.
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/repos/{owner}/{repo}/rulesets
- Auth: none declared
Path parameters
The account owner of the repository. The name is not case sensitive.
The name of the repository without the .git extension. The name is not case sensitive.
Query parameters
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
Include rulesets configured at higher levels that apply to this repository
A comma-separated list of rule targets to filter by. If provided, only rulesets that apply to the specified targets will be returned. For example, branch,tag,push.
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