Custom hook
Pre run hook
{
"branch_id": <the id of the branch, or null>,
"new_health_state": <the new health state of the run, e.g. "HEALTHY">,
"sync_id": <the id of the sync>,
"sync_slug": <the slug of the sync>,
"sync_run_id": <the id of the sync run>,
"previous_sync_run_id", <the id of the previous sync run, or null if this is the first run>,
"previous_health_state", <the health state of the previous run, or null if this is the first run>
}Post run hook
{
"branch_id": <the id of the branch, or null>,
"new_health_state": <the new health state of the run, e.g. "HEALTHY">,
"sync_id": <the id of the sync>,
"sync_slug": <the slug of the sync>,
"sync_run_id": <the id of the sync run>
}Example
Last updated