package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
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>",
),
)
request := &management.ListEventStreamsRequestParameters{
From: management.String(
"from",
),
Take: management.Int(
1,
),
}
client.EventStreams.List(
context.TODO(),
request,
)
}{
"eventStreams": [
{
"id": "<string>",
"name": "<string>",
"subscriptions": [
{
"event_type": "<string>"
}
],
"destination": {
"type": "webhook",
"configuration": {
"webhook_endpoint": "<string>",
"webhook_authorization": {
"method": "basic",
"username": "<string>"
}
}
},
"status": "enabled",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"next": "<string>"
}package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
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>",
),
)
request := &management.ListEventStreamsRequestParameters{
From: management.String(
"from",
),
Take: management.Int(
1,
),
}
client.EventStreams.List(
context.TODO(),
request,
)
}{
"eventStreams": [
{
"id": "<string>",
"name": "<string>",
"subscriptions": [
{
"event_type": "<string>"
}
],
"destination": {
"type": "webhook",
"configuration": {
"webhook_endpoint": "<string>",
"webhook_authorization": {
"method": "basic",
"username": "<string>"
}
}
},
"status": "enabled",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"next": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://auth0-feat-testing-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Optional Id from which to start selection.
Number of results per page. Defaults to 50.
1 <= x <= 100このページは役に立ちましたか?