Skip to content

Commit b3de4cc

Browse files
committed
Add overlays for update and update by query
1 parent 254ca27 commit b3de4cc

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,6 +1810,57 @@ actions:
18101810
$ref: "../../specification/_global/reindex/examples/request/ReindexRequestExample11.yaml"
18111811
reindexRequestExample12:
18121812
$ref: "../../specification/_global/reindex/examples/request/ReindexRequestExample12.yaml"
1813+
- target: "$.paths['/{index}/_update/{id}']['post']"
1814+
description: "Add examples for update document operation"
1815+
update:
1816+
requestBody:
1817+
content:
1818+
application/json:
1819+
examples:
1820+
updateRequestExample1:
1821+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample1.yaml"
1822+
updateRequestExample2:
1823+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample2.yaml"
1824+
updateRequestExample3:
1825+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample3.yaml"
1826+
updateRequestExample4:
1827+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample4.yaml"
1828+
updateRequestExample5:
1829+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample5.yaml"
1830+
updateRequestExample6:
1831+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample6.yaml"
1832+
updateRequestExample7:
1833+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample7.yaml"
1834+
updateRequestExample8:
1835+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample8.yaml"
1836+
updateRequestExample9:
1837+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample9.yaml"
1838+
updateRequestExample10:
1839+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample10.yaml"
1840+
updateRequestExample11:
1841+
$ref: "../../specification/_global/update/examples/request/UpdateRequestExample11.yaml"
1842+
responses:
1843+
200:
1844+
content:
1845+
application/json:
1846+
examples:
1847+
updateResponseExample1:
1848+
$ref: "../../specification/_global/update/examples/response/UpdateResponseExample1.yaml"
1849+
- target: "$.paths['/{index}/_update_by_query']['post']"
1850+
description: "Add examples for update by query operation"
1851+
update:
1852+
requestBody:
1853+
content:
1854+
application/json:
1855+
examples:
1856+
updateByQueryRequestExample1:
1857+
$ref: "../../specification/_global/update_by_query/examples/request/UpdateByQueryRequestExample1.yaml"
1858+
updateByQueryRequestExample2:
1859+
$ref: "../../specification/_global/update_by_query/examples/request/UpdateByQueryRequestExample2.yaml"
1860+
updateByQueryRequestExample3:
1861+
$ref: "../../specification/_global/update_by_query/examples/request/UpdateByQueryRequestExample3.yaml"
1862+
updateByQueryRequestExample4:
1863+
$ref: "../../specification/_global/update_by_query/examples/request/UpdateByQueryRequestExample4.yaml"
18131864
## Examples for info
18141865
- target: "$.paths['/']['get']"
18151866
description: "Add examples for cluster info"

0 commit comments

Comments
 (0)