GET /repos/{owner}/{repo}/rulesets/{ruleset_id}
Get a ruleset for a repository.
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.
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
repo |
String | Yes |
The name of the repository without the |
owner |
String | Yes |
The account owner of the repository. The name is not case sensitive. |
ruleset_id |
Integer | Yes |
The ID of the ruleset. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
includes_parents |
Boolean | No |
Include rulesets configured at higher levels that apply to this repository Default value: true |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.