Change stream api url in the API documentation to wss

Hey there,

The API docs

https://www.zotero.org/support/dev/web_api/v3/streaming_api

has a code example:

var ws = new WebSocket('https://stream.zotero.org');

This is the wrong protocol. After trying both wss:// and ws://, I found out the streaming API is available at wss://stream.zotero.org.

It also seems like ws:// redirects to https://.

Obvious to those with experience, maybe confusing to those who haven't used WebSockets before.

Cheers
Sign In or Register to comment.