Checking whether a persistent subscription exists

Hi,

Is there a way with the c# API to check whether a persistent subscription exists, or failing that get a list of subscriptions.

Any help appreciated.

Kind regards

Sean.

GET /subscriptions
GET /subscriptions/{stream}
GET /subscriptions/{stream}/{group}

There are rel links that provide the navigation between these as well

Thanks, is there an api for this in the c# client?

No there hasn't been a helper added. Feel free to do so if you want
(should be modeled after projectionsmanager/usersmanagement
https://github.com/EventStore/EventStore/tree/release-v4.0.0/src/EventStore.ClientAPI/UserManagement
I will put up a card to add it

Was going to write these docs but the docs are actually already there
on this: http://docs.geteventstore.com/http-api/3.9.0/competing-consumers/

In my app I just try to create the subscription and catch the error. No reason to check for existence
See: https://github.com/volak/Aggregates.NET/blob/master/src/Aggregates.NET.Consumer/Internal/EventSubscriber.cs#L164

That won’t help you though if you need a list of subscription groups.