v68

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.3 MB
repos

Get repository ruleset version

Get a version of a repository ruleset.

get/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

ruleset_idinteger required

The ID of the ruleset.

version_idinteger required

The ID of the version

Response

Response

version_idinteger required

The ID of the previous version of the ruleset

updated_atstring date-time required
stateobject required

The state of the ruleset version