---
title: "Changes to Get rules for a branch"
method: GET
path: "/repos/{owner}/{repo}/rules/branches/{branch}"
---

# Changes to Get rules for a branch

`GET /repos/{owner}/{repo}/rules/branches/{branch}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 62 revisions.

- **2026-07-10** `6876c1d87d2d` — 1 info
- **2026-07-06** `1b29affc6cf8` — 1 breaking

## Changes

- **2026-07-10** `6876c1d87d2d` — 1 info
  - added the optional property `items/oneOf[subschema #8]/allOf[subschema #1: pull_request]/parameters/dismissal_restriction` to the response with the `200` status
- **2026-07-06** `1b29affc6cf8` — 1 breaking
  - added `subschema #19` to the `items/` response property `oneOf` list for the response status `200`

---

[Operation](https://skmtc.dev/github/apis/enterprise-cloud/docs/repos/:owner/:repo/rules/branches/:branch/get.md) · [API](https://skmtc.dev/github/apis/enterprise-cloud.md) · [Page](https://skmtc.dev/github/apis/enterprise-cloud/changes/repos/:owner/:repo/rules/branches/:branch/get)
