v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Sink

Upsert Sink

Create or update a sink.

put/api/v1/stream/{stream_id}/sink/{sink_id}

Path parameters

stream_idstring required

The Stream's ID or UID.

Example:unique-identifier

The Stream's ID or UID.

sink_idstring required

The StreamSink's ID or UID.

Example:unique-identifier

The StreamSink's ID or UID.

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "uid": "unique-identifier",
  "batchSize": 100,
  "eventTypes": [
    "user.signup"
  ]
}

Response

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "id": "sink_2yZwUhtgs5Ai8T9yRQJXA",
  "uid": "unique-identifier",
  "eventTypes": [
    "user.signup"
  ]
}