---
title: "Changes to List branch restrictions"
method: GET
path: "/repositories/{workspace}/{repo_slug}/branch-restrictions"
---

# Changes to List branch restrictions

`GET /repositories/{workspace}/{repo_slug}/branch-restrictions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 15 revisions.

- **2026-08-30** `5748cb124a33`: 1 info
- **2026-08-08** `8c7911c0a910`: 1 info
- **2026-07-13** `d344164ecb11`: 2 warning, 9 info

## Changes

- **2026-08-30** `5748cb124a33`: 1 info
  - added the optional property `values/items/allOf[subschema #2: Branch Restriction]/pipelines_source_branches` to the response with the `200` status
- **2026-08-08** `8c7911c0a910`: 1 info
  - added the optional property `values/items/allOf[subschema #2: Branch Restriction]/groups/items/allOf[subschema #2: Group]/workspace/allOf[subschema #2: Workspace]/is_personal` to the response with the `200` status
- **2026-07-13** `d344164ecb11`: 2 warning, 9 info
  - removed the optional property `values/items/allOf[subschema #2: Branch Restriction]/groups/items/allOf[subschema #2: Group]/owner/allOf[subschema #2: Account]/username` from the response with the `200` status
  - removed the optional property `values/items/allOf[subschema #2: Branch Restriction]/users/items/allOf[subschema #2: Account]/username` from the response with the `200` status
  - added the optional property `values/items/allOf[subschema #2: Branch Restriction]/branch_type` to the response with the `200` status
  - added the optional property `values/items/allOf[subschema #2: Branch Restriction]/groups/items/allOf[subschema #2: Group]/workspace/allOf[subschema #2: Workspace]/forking_mode` to the response with the `200` status
  - added the optional property `values/items/allOf[subschema #2: Branch Restriction]/groups/items/allOf[subschema #2: Group]/workspace/allOf[subschema #2: Workspace]/is_privacy_enforced` to the response with the `200` status
  - added the optional property `values/items/allOf[subschema #2: Branch Restriction]/id` to the response with the `200` status
  - added the optional property `values/items/allOf[subschema #2: Branch Restriction]/links` to the response with the `200` status
  - added the optional property `values/items/allOf[subschema #2: Branch Restriction]/value` to the response with the `200` status
  - added the required property `values/items/allOf[subschema #2: Branch Restriction]/branch_match_kind` to the response with the `200` status
  - added the required property `values/items/allOf[subschema #2: Branch Restriction]/kind` to the response with the `200` status
  - added the required property `values/items/allOf[subschema #2: Branch Restriction]/pattern` to the response with the `200` status

---

[Operation](https://skmtc.dev/atlassian/apis/bitbucket-api/docs/repositories/:workspace/:repo_slug/branch-restrictions/get.md) - [API](https://skmtc.dev/atlassian/apis/bitbucket-api.md) - [Page](https://skmtc.dev/atlassian/apis/bitbucket-api/changes/repositories/:workspace/:repo_slug/branch-restrictions/get)
