---
"Basic":

  - do:
      exists:
        index: test_1
        type:  test
        id:    1

  - is_false: ''

  - do:
      index:
        index: test_1
        type:  test
        id:    1
        body:  { "foo": "bar" }

  - is_true: ''

  - do:
      exists:
        index: test_1
        type:  test
        id:    1

  - is_true: ''

  - do:
      exists:
        index: test_1
        type: test
        id: 1
        version: 1

  - is_true: ''

---
"Basic":

  - do:
      exists:
        index: test_1
        type:  test
        id:    1

  - is_false: ''

  - do:
      index:
        index: test_1
        type:  test
        id:    1
        body:  { "foo": "bar" }

  - is_true: ''

  - do:
      exists:
        index: test_1
        type:  test
        id:    1

  - is_true: ''

---
"test version parameter is recognized":
  - skip:
      version: " - 5.3.99"
      reason:  This parameter was added in 5.4.0
  - do:
      exists:
        index: test_1
        type: test
        id: 1
        version: 1

  - is_true: ''

Fix exists head request tests
Fix exists head request tests

`exists/10_basic/Basic` tests for some parameter that were added in 5.4.0
which causes BWC tests to fail if we are talking it an earlier node. This commit
adds a skip section for this test to only run against 5.4.0 and above.

Relates to #23186
