repos
Get all organization repository rulesets
Get all the repository rulesets for an organization.
get/orgs/{org}/rulesets
Path parameters
orgstring required
The organization name. The name is not case sensitive.
Query parameters
per_pageinteger
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
pageinteger
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
targetsstring
Example:branch,tag,push
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