...
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 | Topic | Subscription | |
2 | retrieve subscriptions for a list of topics | Synapse users | /subscription/list | POST | objectType | List<ObjectId>SubscriptionRequest | SubscriptionPage |
3 | unsubscribe to a topic | Synapse users who subscribed to the object | /subscription/{subscriptionId} | DELETE | |||
4 | retrieve all subscriptions for a user | Synapse users | /subscription/all | GET | limit, offset, objectType (optional) | SubscriptionPage |
...