{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Get all the repository rulesets for an organization.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."}},"required":["org"],"additionalProperties":false},"query":{"type":"object","properties":{"per_page":{"type":"integer","default":30,"description":"The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""},"page":{"type":"integer","default":1,"description":"The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""},"targets":{"type":"string","examples":["branch,tag,push"],"description":"A comma-separated list of rule targets to filter by.\nIf provided, only rulesets that apply to the specified targets will be returned.\nFor example, `branch,tag,push`.\n"}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"Get all organization repository rulesets","id":"github.repos.get-org-rulesets","example":{"path":{"org":"example"}},"maxRequests":1,"summary":false}}