Sink
Upsert Sink
Changed onCreate or update a sink.
put/api/v1/stream/{stream_id}/sink/{sink_id}
Request
- Base URLhttps://api.eu.svix.com
- URLhttps://api.eu.svix.com/api/v1/stream/{stream_id}/sink/{sink_id}
- AuthHTTP bearer
Path parameters
stream_idstring required
The Stream's ID or UID.
Example:unique-identifier
sink_idstring required
The StreamSink's ID or UID.
Example:unique-identifier
Request body
Example request
{
"batchSize": 100,
"channels": [
"project_1337"
],
"eventTypes": [
"user.signup"
],
"uid": "unique-identifier"
}Response
Example response
{
"channels": [
"project_1337"
],
"eventTypes": [
"user.signup"
],
"id": "sink_2yZwUhtgs5Ai8T9yRQJXA",
"uid": "unique-identifier"
}Changes
- warning
the
/////request property's maxLength was set to512
- warning
- breaking
added to the response body
oneOflist for the response status - breaking
added to the response body
oneOflist for the response status - info
added
postHogmapping keys to the request discriminator - info
added to the request body
oneOflist - info
added
postHogmapping keys to the response discriminator for the response status - info
added
postHogmapping keys to the response discriminator for the response status
- breaking