Added/updated snippets for docs (#2318)
This commit is contained in:
13
docs/doc_examples/beaf43b274b0f32cf3cf48f59e5cb1f2.asciidoc
Normal file
13
docs/doc_examples/beaf43b274b0f32cf3cf48f59e5cb1f2.asciidoc
Normal file
@ -0,0 +1,13 @@
|
||||
// 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.snapshot.get({
|
||||
repository: "my_repository",
|
||||
snapshot: "snapshot_*",
|
||||
sort: "start_time",
|
||||
from_sort_value: 1577833200000,
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user