repos
Get an organization rule suite
Changed onGets information about a suite of rule evaluations from within an organization. For more information, see "Managing rulesets for repositories in your organization."
get/orgs/{org}/rulesets/rule-suites/{rule_suite_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/rulesets/rule-suites/{rule_suite_id}
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
rule_suite_idinteger required
The unique identifier of the rule suite result. To get this ID, you can use GET /repos/{owner}/{repo}/rulesets/rule-suites for repositories and GET /orgs/{org}/rulesets/rule-suites for organizations.
Query parameters
include_metadataboolean
When set to true, the response will include additional metadata for pull request and required status check rule evaluation. Results are capped at 50 entries.
Response
Response
Example response
{
"pushed_at": "2011-01-26T19:06:43Z"
}Changes
- info
added the new optional
queryrequest parameterinclude_metadata - info
added the optional property
//to the response with the status
- info