HTTP / endpointHTTP Source and Sink Endpoints
A concrete HTTP route used as a source or sink.
When to use
Create this endpoint inside a HTTP connector, then select it from an Input or Sink stream.
Behavior
- Defines one concrete entry or exit point.
- Its owning connector supplies the transport.
General properties
Endpoint identity
namestringEndpoint name unique in the topology.
RequiredHTTP properties
HTTP endpoint contract
httpMethodTypeGET | POSTHTTP verb.
Default:POSTAllowed: GET, POSTpathstringUnique route path.
RequiredFunction properties
Generated transport handler and code placement
functionNamesymbolGenerated endpoint handler name.
functionPackagerelative pathOptional placement below the target-language functions root. Empty uses the root directly; folder/sub-folder is resolved relative to the root selected by publicFunction and functionModule. See Code Generation / Packages and Modules for the language matrix.
empty (functions root)publicFunctionbooleanPlaces the handler in shared code.
Default:falsefunctionDescriptiontextGenerated documentation comment.
functionInitializerGroupstringDependency-injection initialization group.
functionModuleModuleOptional Module owning a public handler; an omitted owner keeps it in the service.
Visible when publicFunction is true.Configuration example
name: Create order
httpMethodType: POST
path: /v1/orders