Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:web_api:v3:streaming_api [2022/06/23 22:26] – [Zotero Streaming API] dstillmandev:web_api:v3:streaming_api [2023/04/11 17:46] (current) – [Create an empty WebSocket stream] dstillman
Line 10: Line 10:
 ==== Create an empty WebSocket stream ==== ==== Create an empty WebSocket stream ====
  
-<code javascript>var ws = new WebSocket('https://stream.zotero.org');</code>+<code javascript>var ws = new WebSocket('wss://stream.zotero.org');</code>
  
 Server response: Server response:
Line 91: Line 91:
  
 Topic subscriptions cannot be removed via ''createSubscriptions''. If subscriptions for a given API key already exist, the provided topics will be merged with the existing ones. If an empty ''topics'' array is provided, no changes will be made. If no ''topics'' property is provided, the key will be upgraded to automatically track access as described above. Topic subscriptions cannot be removed via ''createSubscriptions''. If subscriptions for a given API key already exist, the provided topics will be merged with the existing ones. If an empty ''topics'' array is provided, no changes will be made. If no ''topics'' property is provided, the key will be upgraded to automatically track access as described above.
- 
-A maximum of [TBD] API keys can be added on a single event stream. 
  
 === Errors === === Errors ===
dev/web_api/v3/streaming_api.1656037571.txt.gz · Last modified: 2022/06/23 22:26 by dstillman