OpenSearch/rest-api-spec/test/update/30_internal_version.yaml

25 lines
482 B
YAML

---
"Internal version":
- do:
catch: conflict
update:
index: test_1
type: test
id: 1
version: 1
body:
doc: { foo: baz }
upsert: { foo: bar }
- do:
catch: conflict
update:
index: test_1
type: test
id: 1
version: 1
body:
doc: { foo: baz }
upsert: { foo: bar }