Backend for accepting subscription requests
Create an api for requesting subscriptions to a channel
GET /api/v2/subscriptions/incoming
Gets a list of all pending subscription requests
PUT /api/v2/subscriptions/outgoing/{{channel_guid}}
Creates a new subscription request for a user Sends out a push notification to the channel owner that a new subscription request has been created
DELETE /api/v2/subscriptions/outgoing/{{channel_guid}}
Deletes a subscription request made
PUT /api/v2/subscriptions/incoming/{{channel_guid}}/accept
Accepts a new subscription request for a user, assigns them the subscriber role for that channel guid
PUT /api/v2/subscriptions/incoming/{{channel_guid}}/decline
Denies a new subscription request
Edited by Mark Harding