(api) allow forcing ID when creating a document via API endpoint

We need to be able to force the ID when creating a document via
the API endpoint. This is usefull for documents that are created
offline as synchronization is achieved by replaying stacked requests.

We do it via the serializer, making sure that we don't override an
existing document.
This commit is contained in:
Samuel Paccoud - DINUM
2024-09-09 19:31:26 +02:00
committed by Samuel Paccoud
parent dec1a1a870
commit 2c3eef4dd9
3 changed files with 77 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ and this project adheres to
- 🛂(backend) stop to list public doc to everyone #234
- 🚚(frontend) change visibility in share modal #235
## Fixed
- 🐛 Fix forcing ID when creating a document via API endpoint #234
## [1.3.0] - 2024-09-05