Name of the build trigger
The type of build trigger
Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
The public URL of the frontend. If Site Search is enabled (indicated by indexing_enabled
), this is the starting point from which the website's spidering will start
Wheter an automatic build request to webhook_url
should be made on scheduled publications/unpublishings
Additional settings for the build trigger. The value depends on the adapter
.
import { buildClient } from '@datocms/cma-client-node';async function run() {const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });const buildTriggerId = '1822';const buildTrigger = await client.buildTriggers.update(buildTriggerId, {});console.log(buildTrigger);}run();