---
"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: ''

---
"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:
      index:
        index: test_1
        type:  test
        id:    1
        body:  { "foo": "bar" }

  - is_true: ''

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

  - is_true: ''

Add missing doc in REST test
[TEST] Add missing doc in REST test
