Webhook Endpoint Resource
The HTTP Endpoint Resource is a resource that exposes a function via a RESTful API. This makes it possible to trigger workflows on Dynaboard from other services.
Properties
Route Override
| Prop | route |
|---|---|
| Type | string |
| Default | undefined |
The route where the endpoint should be mounted, relative to the project's endpoints root URL. Supports all routes supported by express via path-to-regexp.
Healthcheck Path
| Prop | healthcheckPath |
|---|---|
| Type | string |
| Default | undefined |
A path which can be sent GET requests to test the functionality of the endpoint
Event Handlers
On Request
| Handler | httpEndpointNode.onRequest |
|---|
The project function to call when the HTTP endpoint receives a request.