List all build triggers for a site
Returns
Returns an array of
build_trigger resource objects.
Examples
Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const buildTriggers = await client.buildTriggers.list();
buildTriggers.forEach((buildTrigger) => {
console.log(buildTrigger);
});
}
run();