Core
Write Plugins v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

core:hotelClerk:addSubscription #

ArgumentsTypeDescription
subscription
object
Contains information about the added subscription

Triggered whenever a subscription is added.

subscription #

The provided subscription object has the following properties:

PropertiesTypeDescription
roomId
string
Room unique identifier
connectionId
integer
ClientConnection unique identifier
index
string
Index
collection
string
Collection
filters
object
Filters in Koncorde's normalized format