Added/updated snippets for docs (#2318)
This commit is contained in:
15
docs/doc_examples/4bfcb2861f1d572bd0d66acd66deab0b.asciidoc
Normal file
15
docs/doc_examples/4bfcb2861f1d572bd0d66acd66deab0b.asciidoc
Normal file
@ -0,0 +1,15 @@
|
||||
// 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.ml.updateDatafeed({
|
||||
datafeed_id: "datafeed-test-job",
|
||||
query: {
|
||||
term: {
|
||||
"geo.src": "US",
|
||||
},
|
||||
},
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user