Join the first BoxWorks Hackathon for Good - customers, partners, and the developer community are welcome to participate in the 48 hour Hack to benefit The Nature Conservancy.

Learn more and register!

Real-time server

A real-time server that can be used for long polling user events

string
realtime_server

realtime_server

integer
10

The maximum number of retries this server will allow before a new long poll should be started by getting a new list of server.

610

The maximum number of seconds without a response after which you should retry the long poll connection.

This helps to overcome network issues where the long poll looks to be working but no packages are coming through.

integer
10

The time in minutes for which this server is available

string
http://2.realtime.services.box.net/subscribe?channel=cc807c9c4869ffb1c81a&stream_type=all

The URL for the server.

Response Example

{
  "type": "realtime_server",
  "max_retries": 10,
  "retry_timeout": 610,
  "ttl": 10,
  "url": "http://2.realtime.services.box.net/subscribe?channel=cc807c9c4869ffb1c81a&stream_type=all"
}