---
title: "Changes to Upload a snapshot of the file"
method: PATCH
path: "/me/files/{fileName}"
---

# Changes to Upload a snapshot of the file

`PATCH /me/files/{fileName}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 9 of 29 revisions.

- **2026-07-17** `4ff151025f7c`: 1 warning, 2 info
- **2025-02-09** `11f1b67626ff`: 1 info
- **2025-02-06** `4b32864c1d82`: 1 info
- **2025-01-26** `92dc510f35d6`: 5 breaking, 1 warning, 2 info
- **2025-01-23** `7c11e65dc574`: 2 breaking
- **2025-01-23** `7a2b2f42a2f2`: 3 breaking, 1 warning, 2 info
- **2025-01-22** `d3210261c539`: 1 info
- **2025-01-21** `ad4cd30302ac`: 1 info
- **2025-01-20** `93e312846ab3`: 3 breaking, 1 warning, 8 info

## Changes

- **2026-07-17** `4ff151025f7c`: 1 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`
  - the `snapshot/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 `snapshot/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 info
  - the `snapshot/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-06** `4b32864c1d82`: 1 info
  - added the optional property `snapshot/license` to the response with the `200` status
- **2025-01-26** `92dc510f35d6`: 5 breaking, 1 warning, 2 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 `id` from the response with the `200` status
  - removed the required property `owner` from the response with the `200` status
  - removed the required property `version` from the response with the `200` status
  - removed the optional property `registered` from the response with the `200` status
  - added the required property `result` to the response with the `200` status
  - added the required property `snapshot` to the response with the `200` status
- **2025-01-23** `7c11e65dc574`: 2 breaking
  - added the new required request property `content`
  - the request's body type changed from `string` to `object`
- **2025-01-23** `7a2b2f42a2f2`: 3 breaking, 1 warning, 2 info
  - added the new path request parameter `fileName`
  - 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
  - deleted the `path` request parameter `file_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
- **2025-01-22** `d3210261c539`: 1 info
  - api operation id `uploadMySnapshot` was added
- **2025-01-21** `ad4cd30302ac`: 1 info
  - the endpoint scheme security `BearerAuth` was added to the API
- **2025-01-20** `93e312846ab3`: 3 breaking, 1 warning, 8 info
  - the request's body type changed from `object` to `string`
  - removed the required property `result` from the response with the `200` status
  - removed the required property `snapshot` from the response with the `200` status
  - removed the request property `content`
  - api operation id `uploadMySnapshot` removed and replaced with ``
  - the endpoint scheme security `BearerAuth` was removed from the API
  - 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 `registered` to the response with the `200` status
  - 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 `owner` to the response with the `200` status
  - added the required property `version` to the response with the `200` status

---

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