Show examples in:
    Build trigger

    Configuration for different build triggers. You can have different staging and production environments in order to test your site before final deploy

    Object payload

    id  string
    ID of build_trigger
    type  string
    Must be exactly "build_trigger"
    name  string  Example: "Production"

    Name of the environment

    adapter  string  Example: "netlify"

    The deploy adapter

    adapter_settings  object  Example: {"trigger_url":"https://api.netlify.com/build_hooks/XXX","site_id":"XXX","branch":"master"}

    Additional configuration for deploy

    last_build_completed_at  date-time, null  Example: "2017-03-30T09:29:14.872Z"

    Timestamp of the last deploy

    build_status  string  Example: "success"

    Status of last deploy

    webhook_url  string  Example: "https://webhooks.datocoms.com/xA1239ajsk123/deploy-results"

    Notification webhook URL

    indexing_status  string  Example: "success"

    Status of site scraper

    frontend_url  string, null  Example: "https://www.mywebsite.com/"

    Public url of the site

    indexing_enabled  boolean  Example: true

    Enable scraper on the site

    autotrigger_on_scheduled_publications  boolean  Example: true

    Deploy on scheduled publication

    webhook_token  string  Example: "xA1239ajsk123"

    Unique token of the webhook

    Available endpoints