docs: Clarify REPLACEMENT semantics for PUT /contacts/:id multi-values
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -413,6 +413,7 @@ const contactId = transaction();
|
|||||||
**Validation:**
|
**Validation:**
|
||||||
- `id`: parseInt, must be > 0
|
- `id`: parseInt, must be > 0
|
||||||
- Alle Felder optional (nur gesendete werden geupdatet)
|
- Alle Felder optional (nur gesendete werden geupdatet)
|
||||||
|
- **Multi-Value-Felder (phones/emails/addresses):** REPLACEMENT-Semantik — wenn gesendet, werden ALLE existierenden Werte gelöscht und durch die gesendeten ersetzt. Client muss vollständiges Array schicken, nicht nur Änderungen.
|
||||||
|
|
||||||
**Logic (Transaction):**
|
**Logic (Transaction):**
|
||||||
```javascript
|
```javascript
|
||||||
|
|||||||
Reference in New Issue
Block a user