---
title: "Changes to POST /lens"
method: POST
path: "/lens"
---

# Changes to POST /lens

`POST /lens`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 59 revisions.

- **2026-03-02** `8c167ee47363`: 1 info
- **2025-12-16** `5b868ebf9e61`: 3 warning, 2 info
- **2025-10-17** `4ca188c09b28`: 1 info
- **2025-06-02** `60812f5416c5`: 1 breaking, 1 warning, 4 info

## Changes

- **2026-03-02** `8c167ee47363`: 1 info
  - api operation id `lens_add` removed and replaced with `add_lens`
- **2025-12-16** `5b868ebf9e61`: 3 warning, 2 info
  - removed the request property `DestinationSchemaVersionID`
  - removed the request property `Lenses`
  - removed the request property `SourceSchemaVersionID`
  - api operation id `lens_set_migration` removed and replaced with `lens_add`
  - added the new optional request property `lens`
- **2025-10-17** `4ca188c09b28`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2025-06-02** `60812f5416c5`: 1 breaking, 1 warning, 4 info
  - removed the media type `application/json` for the response with the status `200`
  - removed the request property `lens`
  - api operation id `add_lens` removed and replaced with `lens_set_migration`
  - added the new optional request property `DestinationSchemaVersionID`
  - added the new optional request property `Lenses`
  - added the new optional request property `SourceSchemaVersionID`

---

[Operation](https://skmtc.dev/sourcenetwork/apis/defradb-api/docs/lens/post.md) - [API](https://skmtc.dev/sourcenetwork/apis/defradb-api.md) - [Page](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/lens/post)
