Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Changed response for 409 conflict message for 2.x #485

Merged
merged 1 commit into from
Apr 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions 030_Data/40_Version_control.asciidoc
Original file line number Diff line number Diff line change
@@ -154,9 +154,21 @@ code, and a body like the following:
[source,js]
--------------------------------------------------
{
"error" : "VersionConflictEngineException[[website][2] [blog][1]:
version conflict, current [2], provided [1]]",
"status" : 409
"error": {
"root_cause": [
{
"type": "version_conflict_engine_exception",
"reason": "[blog][1]: version conflict, current [2], provided [1]",
"index": "website",
"shard": "3"
}
],
"type": "version_conflict_engine_exception",
"reason": "[blog][1]: version conflict, current [2], provided [1]",
"index": "website",
"shard": "3"
},
"status": 409
}
--------------------------------------------------
// SENSE: 030_Data/40_Concurrency.json