Subscription
USER_SUBSCRIPTION
Description: Used to return user data when anything gets updated in the user collection.
Response:
Type : Object
Description: Returns a data object with all updated user data in user collection.
MESSAGE_SUBSCRIPTION
Description: Used to send a notification to corresponding user regarding a new message when anything gets updated in the message collection.
Response:
Type : Object
Description: Returns a data object with new message data in message collection.
MATCH_SUBSCRIPTION
Description: Used to send a notification to corresponding user regarding a new match or check if anyone liked a user when anything gets updated in the vote collection.
Response:
Type : Object
Description: Returns a data object with new match data or target data in vote collection.