Stream

Create or update a stream.

put/api/v1/stream/{stream_id}

Request

  • Base URL
    https://api.eu.svix.com
  • URL
    https://api.eu.svix.com/api/v1/stream/{stream_id}
  • Auth
    HTTP bearer

Path parameters

stream_idstring required

The Stream's ID or UID.

Example:unique-identifier

Request body

metadataobject
namestring required

The stream's name.

uidstring nullable

An optional unique identifier for the stream.

Example request

{
  "uid": "unique-identifier"
}

Response

createdAtstring date-time required
idstring required

The stream's ID.

metadataobject required
namestring nullable

The stream's name.

uidstring nullable

The stream's UID.

updatedAtstring date-time required

Example response

{
  "id": "strm_2yZwUhtgs5Ai8T9yRQJXA",
  "uid": "unique-identifier"
}

Changes

    • warning

      the request property's maxLength was set to 512

    • info

      added the required property to the response with the status

    • info

      api operation id v1.streaming.stream.update removed and replaced with v1.streaming.stream.upsert