...
We will pick one approach and move forward. Depending on what other problems that come up during the implementation, we may switch to a different approach.
Models
API
Action | Intended User | URI | Method | Request Params | Request Body | Response Body | |
---|---|---|---|---|---|---|---|
1 | subscribe to a topic | Synapse users who has READ permission on the object | /subscription | POST | CreateSubscription | Subscription | |
2 | retrieve subscriptions for a list of topics | Synapse users | /subscription | POST | List<Topic> | SubscriptionPage | |
3 | unsubscribe to a topic | Synapse users who subscribed to the object | /subscription/{subscriptionId} | DELETE | |||
...