v8

latestOpenAPI 3.0.3raw.githubusercontent.com2025-11-2851238.2 KB
Stream Triggers

Create a stream trigger

Creates a new stream trigger for data processing and routing. A stream trigger connects a data source to a target, enabling real-time data flow between components.

Usage Notes:

  • The system automatically creates necessary import/export pairs
  • Stream triggers define both source and target configurations
  • The source configuration specifies where data originates
  • The target configuration specifies where data should be delivered
  • Response types can be Singleton (single response), Stream (continuous), or Chunked (paginated)
  • Source and target types determine how data flows through the system
  • The trigger is active immediately after creation
  • Both synchronous and asynchronous data processing patterns are supported
post/trigger/stream

Request body

namestring required

Unique name identifier for the trigger. Used to construct the trigger's topic and subject.

collectionstring

Logical grouping the trigger belongs to. Used for organizing and filtering triggers.

descriptionstring

Human-readable description explaining the trigger's purpose and function.

trigger_type'stream' required

Must be 'stream' for this endpoint. Determines the trigger's behavior and available properties.

Example request

{
  "name": "my-stream-trigger",
  "collection": "my-collection",
  "description": "Stream data processing trigger",
  "trigger_type": "stream"
}

Response

Stream trigger created successfully

status_codeinteger

HTTP status code indicating the result of the operation.

Example response

{
  "body": {
    "name": "my-stream-trigger",
    "collection": "my-collection",
    "description": "Stream data processing trigger",
    "stream": "quiva-trigger-config",
    "subject": "ms.trigger.stream.my-stream-trigger",
    "trigger_type": "stream",
    "type": "stream-trigger"
  },
  "status_code": 201
}