Skip to main content
GET
C#

承認

Authorization
string
header
必須

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

クエリパラメータ

from
string

ストリーム内の位置を表す opaque なトークンです。指定しない場合、ストリームは最新のイベントから開始されます。

Maximum string length: 1024
from_timestamp
string

イベントのストリーミング開始位置を示す RFC-3339 タイムスタンプです。これは、カーソルを利用できない可能性がある初回クエリでのみ使用してください。後続の request では、より正確なカーソル (from) を使用してください。

Maximum string length: 20
event_type
enum<string>[]

受信するイベントタイプ。複数のタイプを指定する場合は、複数回指定してください(例: ?event_type=user.created&event_type=user.updated)。指定しない場合は、すべてのイベントタイプがストリーミングされます。 受信するイベントタイプ。複数のタイプを指定する場合は、複数回指定してください(例: ?event_type=user.created&event_type=user.updated)。指定しない場合は、すべてのイベントタイプがストリーム配信されます。

利用可能なオプション:
connection.created,
connection.deleted,
connection.updated,
group.created,
group.deleted,
group.member.added,
group.member.deleted,
group.role.assigned,
group.role.deleted,
group.updated,
organization.connection.added,
organization.connection.removed,
organization.connection.updated,
organization.created,
organization.deleted,
organization.group.role.assigned,
organization.group.role.deleted,
organization.member.added,
organization.member.deleted,
organization.member.role.assigned,
organization.member.role.deleted,
organization.updated,
user.created,
user.deleted,
user.updated

レスポンス

イベントストリームが正常に確立されました。

各SSEデータ行で配信されるJSON payload。typeフィールドは、SDKによってSSEのeventフィールドから注入されます。typeによって判別され、イベントの場合はイベントタイプ名、エラーの場合は"error"、カーソルのみのハートビートの場合は"offset-only"になります。

event
object
必須

接続が作成されたときに発生するイベントを表します。

offset
string
必須

ストリーム内の位置を表す不透明なカーソル。再開するには、from クエリパラメータとして渡します。

type
enum<string>
必須

イベントタイプ(SSEイベントフィールドから挿入されます)。

利用可能なオプション:
connection.created