17 lines
386 B
Plaintext
17 lines
386 B
Plaintext
// 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.createRepository({
|
|
name: "my_read_only_url_repository",
|
|
repository: {
|
|
type: "url",
|
|
settings: {
|
|
url: "file:/mount/backups/my_fs_backup_location",
|
|
},
|
|
},
|
|
});
|
|
console.log(response);
|
|
----
|