GET /subscription/all
This API is used to retrieve all subscriptions one has.
Target users: all Synapse users.
Resource URL
https://repo-prod.prod.sagebase.org/repo/v1/subscription/all
Parameters
| limit optional |
- Limits the size of the page returned. For example, a page size of 10 require limit = 10. The maximum Limit for this call is 100. |
| offset optional |
- The index of the pagination offset. For a page size of 10, the first page would be at offset = 0, and the second page would be at offset = 10. |
| objectType optional |
- User can use this param to filter the results by the type of object they subscribed to. |
| sortBy optional |
- When provided, the results will be sorted by this type. |
| sortDirection optional |
- When provided, the results will be sorted in this direction. |
| Resource Information | |
|---|---|
| Authentication | Required |
| Required OAuth Scopes | view |
| HTTP Method | GET |
| Request Object | None |
| Response Object | SubscriptionPagedResults (application/json) |