Auto-generated code for main (#2351)

Co-authored-by: Josh Mock <joshua.mock@elastic.co>
This commit is contained in:
Elastic Machine
2024-08-26 20:31:53 +01:00
committed by GitHub
parent 608b517d64
commit 60aa521b7e
7 changed files with 620 additions and 29 deletions

View File

@ -0,0 +1,12 @@
// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
[source, js]
----
const response = await client.cluster.allocationExplain({
index: "my-index",
shard: 0,
primary: false,
});
console.log(response);
----