28 lines
451 B
Plaintext
28 lines
451 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.watcher.putWatch({
|
|
id: "test_watch",
|
|
trigger: {
|
|
schedule: {
|
|
hourly: {
|
|
minute: [0, 5],
|
|
},
|
|
},
|
|
},
|
|
input: {
|
|
simple: {
|
|
payload: {
|
|
send: "yes",
|
|
},
|
|
},
|
|
},
|
|
condition: {
|
|
always: {},
|
|
},
|
|
});
|
|
console.log(response);
|
|
----
|