CreateApiEndpointInput
Type: Input
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| active | Boolean | Whether the endpoint is active | |
| authToken | String | ||
| contentType | ContentTypeEnum | The content type that the endpoint will accept and respond with, incoming data will automatically be parsed and encoded to/from the correct type | |
| functionId | ID | ||
| handle | String! | The handle of the endpoint, this will form the first part of the URL | |
| name | String! | The name of the endpoint | |
| path | String | The path of the endpoint, this will form the second part of the URL, and supports dynamic segments such as /:id which will be passed as params to the endpoint | |
| verb | HttpVerbEnum! | The HTTP verb that the endpoint will respond to |