メインコンテンツへスキップ
OPTIONS
/
events
cURL
curl -i -X OPTIONS "https://api.box.com/2.0/events" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
{
  "chunk_size": 1,
  "entries": [
    {
      "type": "realtime_server",
      "url": "http://2.realtime.services.box.net/subscribe?channel=cc807c9c4869ffb1c81a&stream_type=all",
      "ttl": "10",
      "max_retries": "10",
      "retry_timeout": 610
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.box.com/llms.txt

Use this file to discover all available pages before exploring further.

このリソースは、バージョン2024.0のエンドポイントで使用されています。 詳細については、 Box APIのバージョン管理を参照してください。Box SDKのバージョニング戦略について詳しく学ぶ。」

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

レスポンス

Long pollingイベントの通常のエンドポイントの代わりに使用できるページ割りされたサーバーの配列を返します。

Long pollingに使用できるリアルタイムサーバーのリスト。

chunk_size
integer<int64>

このレスポンス内の項目の数。

:

1

entries
リアルタイムサーバー · object[]

リアルタイムサーバーのリスト。