You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/conditional-entity-mutations.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ Requests without a condition retain ordinary CRUD behavior. Every actual backend
45
45
| --- | --- |
46
46
| Detail GET with `Entity-Revision`| This authorized record has a usable edit baseline. |
47
47
| Detail GET without the header | Conditional mutation is unavailable for that schema/backend. Do not claim stale-edit protection. |
48
+
| 409, `reason: "unique_violation"`| Another record already uses a unique value. Revise the input; the rejected write leaves the record and revision unchanged. Constraint and hidden field details are omitted. |
48
49
| 409, `reason: "revision_conflict"`| The baseline changed. Keep the user's draft and reload for deliberate reconciliation. |
49
50
| 409, `reason: "conditional_mutation_unsupported"`| The adapter or schema is not ready. Do not retry unconditionally. |
50
51
| 400 | Malformed/duplicate revision header, or unsupported `If-Match`. Correct the request. |
0 commit comments