How to get all subscriptions?

In order to get info about all existing subscriptions we exposed the following method:

List<SubscriptionConfig> GetSubscriptions(int start, int take, string database = null);
Parameters
start int Indicates how many data subscriptions should be skipped.
take int Indicates how many data subscriptions should be taken.
database string Name of database to create a data subscription. If null, default database configured in DocumentStore will be used.
Return value
List<SubscriptionConfig> Configurations of existing subscriptions providing such information as: id, criteria, last acknowledged Etag, times of sending last batch and client activity.

Example

var configs = store.Subscriptions.GetSubscriptions(0, 10);