TriggerRoute
Parameters and properties
Section titled “Parameters and properties”pathRequiredstringExact request path starting with /, such as /github, of at most 128 letters, digits, dots, underscores, tildes, slashes or hyphens. Unique among routes and part of each job identifier.sourceRequiredTriggerSourceSource verifying and normalizing requests on this path.onRequired(event: TriggerEvent) => TriggerJob | undefined | Promise<TriggerJob | undefined>Map a verified event to a job, or return undefined to ignore it (204); a thrown error or invalid job answers 500. Return promptly and deterministically: senders time out, and the queue refuses a different job for a known delivery (503).