OpenSearch/rest-api-spec/test/delete/25_external_version.yaml

33 lines
683 B
YAML
Raw Normal View History

2013-06-28 11:17:23 -04:00
---
"External version":
2013-06-28 11:17:23 -04:00
- do:
index:
index: test_1
type: test
id: 1
body: { foo: bar }
version_type: external
version: 5
2013-06-28 11:17:23 -04:00
- match: { _version: 5}
- do:
catch: conflict
delete:
index: test_1
type: test
id: 1
version_type: external
version: 4
- do:
delete:
index: test_1
type: test
id: 1
version_type: external
version: 6
2013-06-28 11:17:23 -04:00
- match: { _version: 6}