Namespace: subscribe

subscribe

Source:

Methods

(static) create(options, done)

Subscribe to collection as logged user

Parameters:
Name Type Description
options Object options
Properties
Name Type Attributes Description
collection_id Number <optional>
The ID of the collection you want to subscribe (You must provide either collection_id or live_id)
live_id Number <optional>
The ID of the live event you want to subscribe (You must provide either collection_id or live_id)
email Number <optional>
The email you want to subscribe to a collection (if not logged)
done done Callback
Source:
See:

(static) destroy(options, done)

Unsubscribe to collection as logged user

Parameters:
Name Type Description
options Object options
Properties
Name Type Attributes Description
collection_id Number <optional>
The ID of the collection you want to subscribe (You must provide either collection_id or live_id)
live_id Number <optional>
The ID of the live event you want to subscribe (You must provide either collection_id or live_id)
done done Callback
Source:
See: