---
title: "Changes to Get file or directory contents"
method: GET
path: "/repositories/{workspace}/{repo_slug}/src/{commit}/{path}"
---

# Changes to Get file or directory contents

`GET /repositories/{workspace}/{repo_slug}/src/{commit}/{path}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 15 revisions.

- **2026-07-13** `d344164ecb11`: 2 warning, 1 info

## Changes

- **2026-07-13** `d344164ecb11`: 2 warning, 1 info
  - removed the optional property `values/items/commit/allOf[#/components/schemas/base_commit]/allOf[subschema #2: Base Commit]/author/allOf[subschema #2: Author]/user/allOf[subschema #2: Account]/username` from the response with the `200` status
  - removed the optional property `values/items/commit/allOf[subschema #2: Commit]/participants/items/allOf[subschema #2: Participant]/user/allOf[subschema #2: Account]/username` from the response with the `200` status
  - added the optional property `values/items/commit/allOf[#/components/schemas/base_commit]/allOf[subschema #2: Base Commit]/committer` to the response with the `200` status

---

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