Closed Peter42 closed 7 years ago
GET /channels
query: { search: "" }
Get all channels with optional filter.
GET /channel
query: {channelId }
Get more details about a channel
PUT /channel
body: { name, password, ttl, requestText, message, title, icon }
Create new channel and subscribe to it
POST /channel/subscription
body: { channelId, password }
Subscribe to channel, optional password
DELETE /channel/subscription
body: { channelId }
Unsubscribe from channel
DELETE /channel/notify
body: { channelId }
Notify that channel
GET /subscriptions
Get all subscribed channel ids
Channels without subscriptions get deleted
We need some kind of "coffee groups" one can join and only gets notified when a member of one of his groups goes grabbing a coffee.