Destination
Upsert Destination
Changed onCreate or update a destination.
put/api/v1/app/{app_id}/destination/{destination_id}
Request
- Base URLhttps://api.eu.svix.com
- URLhttps://api.eu.svix.com/api/v1/app/{app_id}/destination/{destination_id}
- AuthHTTP bearer
Path parameters
app_idstring required
The Application's ID or UID.
Example:unique-identifier
destination_idstring required
The Destination'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