ConnectorApiEndpointsInput
Type: Input
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| contentType | ContentTypeEnum | The expected incoming content type to enable parsing of the request body, if present | |
| functionTemplate | String | The Lua script to run when a webhook request is received by this ApiEndpoint. | |
| httpVerb | HttpVerbEnum | The HTTP Verb to respond to | |
| id | String | A URL safe handle-style ID for this handler | |
| name | String | A name to refer to the Webhook by, aids in human comprehension | |
| path | String | The path to respond on, this is nested under the Connector's base url and supports dynamic path segments, e.g. /users/:id |