Saltar al contenido principal
GET
https://{tenantDomain}/api/v2
/
event-streams
/
{id}
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.EventStreams.Get(
        context.TODO(),
        "id",
    )
}
{
  "created_at": "2023-11-07T05:31:56Z",
  "destination": {
    "configuration": {
      "webhook_authorization": {
        "username": "<string>"
      },
      "webhook_endpoint": "<string>"
    }
  },
  "id": "<string>",
  "name": "<string>",
  "subscriptions": [
    {
      "event_type": "<string>"
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

id
string
requerido

Identificador único del flujo de eventos.

Required string length: 26

Respuesta

El flujo de eventos se recuperó correctamente.

created_at
string<date-time>

Marca de tiempo de creación del flujo de eventos.

destination
object
id
string<event-stream-id>

Identificador único del flujo de eventos.

Required string length: 26
name
string

Nombre del flujo de eventos.

Required string length: 1 - 128
status
enum<string>

Indica si el flujo de eventos está reenviando eventos de forma activa.

Opciones disponibles:
enabled,
disabled
Maximum string length: 8
subscriptions
object[]

Lista de tipos de eventos a los que está suscrito este flujo.

Minimum array length: 1
updated_at
string<date-time>

Marca de tiempo de la última actualización del flujo de eventos.