---
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.
> 62 revisions in range; 1 not diffed.

## Timeline

Changed in 2 of 62 revisions.

- **2026-07-10** (2022-11-28) `0bd000ee5faf` — 1 info
- **2026-07-06** (2022-11-28) `a016096aa2cb` — 1 breaking

## Changes

- **2026-07-10** (2022-11-28) `0bd000ee5faf` — 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** (2022-11-28) `a016096aa2cb` — 1 breaking
  - added `subschema #19` to the `items/` response property `oneOf` list for the response status `200`

---

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