---
title: "Changes to Fetch a public file"
method: GET
path: "/files/{userName}/{fileName}"
---

# Changes to Fetch a public file

`GET /files/{userName}/{fileName}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 7 of 29 revisions.

- **2026-07-17** `4ff151025f7c` — 2 warning, 2 info
- **2025-02-09** `11f1b67626ff` — 1 warning, 1 info
- **2025-01-23** `65605c05e7f7` — 6 breaking, 2 warning, 4 info
- **2025-01-23** `4905576a1c1e` — 6 breaking, 2 warning, 4 info
- **2025-01-22** `7a2b2f42a2f2` — 6 breaking, 2 warning, 4 info
- **2025-01-22** `d3210261c539` — 1 info
- **2025-01-20** `93e312846ab3` — 5 breaking, 5 info

## Changes

- **2026-07-17** `4ff151025f7c` — 2 warning, 2 info
  - changed the pattern of the `path` request parameter `fileName` from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i`
  - changed the pattern of the `path` request parameter `userName` from `/^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i`
  - the `fileName` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i` for the status `200`
  - the `owner` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` for the status `200`
- **2025-02-09** `11f1b67626ff` — 1 warning, 1 info
  - changed the pattern of the `path` request parameter `userName` from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i`
  - the `owner` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i` for the status `200`
- **2025-01-23** `65605c05e7f7` — 6 breaking, 2 warning, 4 info
  - added the new path request parameter `fileName`
  - added the new path request parameter `userName`
  - removed the required property `created_at` from the response with the `200` status
  - removed the required property `file_name` from the response with the `200` status
  - removed the required property `registered_versions` from the response with the `200` status
  - removed the required property `updated_at` from the response with the `200` status
  - deleted the `path` request parameter `file_name`
  - deleted the `path` request parameter `user_name`
  - added the required property `createdAt` to the response with the `200` status
  - added the required property `fileName` to the response with the `200` status
  - added the required property `registeredVersions` to the response with the `200` status
  - added the required property `updatedAt` to the response with the `200` status
- **2025-01-23** `4905576a1c1e` — 6 breaking, 2 warning, 4 info
  - added the new path request parameter `file_name`
  - added the new path request parameter `user_name`
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `fileName` from the response with the `200` status
  - removed the required property `registeredVersions` from the response with the `200` status
  - removed the required property `updatedAt` from the response with the `200` status
  - deleted the `path` request parameter `fileName`
  - deleted the `path` request parameter `userName`
  - added the required property `created_at` to the response with the `200` status
  - added the required property `file_name` to the response with the `200` status
  - added the required property `registered_versions` to the response with the `200` status
  - added the required property `updated_at` to the response with the `200` status
- **2025-01-22** `7a2b2f42a2f2` — 6 breaking, 2 warning, 4 info
  - added the new path request parameter `fileName`
  - added the new path request parameter `userName`
  - removed the required property `created_at` from the response with the `200` status
  - removed the required property `file_name` from the response with the `200` status
  - removed the required property `registered_versions` from the response with the `200` status
  - removed the required property `updated_at` from the response with the `200` status
  - deleted the `path` request parameter `file_name`
  - deleted the `path` request parameter `user_name`
  - added the required property `createdAt` to the response with the `200` status
  - added the required property `fileName` to the response with the `200` status
  - added the required property `registeredVersions` to the response with the `200` status
  - added the required property `updatedAt` to the response with the `200` status
- **2025-01-22** `d3210261c539` — 1 info
  - api operation id `getPublicFile` was added
- **2025-01-20** `93e312846ab3` — 5 breaking, 5 info
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `fileName` from the response with the `200` status
  - removed the required property `owner` from the response with the `200` status
  - removed the required property `registeredVersions` from the response with the `200` status
  - removed the required property `updatedAt` from the response with the `200` status
  - api operation id `getPublicFile` removed and replaced with ``
  - removed the pattern `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` from the `path` request parameter `userName`
  - removed the pattern `/^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i` from the `path` request parameter `fileName`
  - added the optional property `content` to the response with the `200` status
  - added the optional property `meta` to the response with the `200` status

---

[Operation](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/docs/files/:userName/:fileName/get.md) · [API](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api.md) · [Page](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/files/:userName/:fileName/get)
