The Open API specification for Synapse is now available for download!

Download Open API Spec

GET /forum/{forumId}/threads

This API is used to get N number of threads for a given forum ID.
Target users: anyone who has READ permission to the project.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/forum/{forumId}/threads

Resource URL Variables
{forumId} - The forum ID to which the returning threads belong
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 20.
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.
sort

optional

- The field to sort the resulting threads on. Available options: DiscussionThreadOrder.
ascending

optional

- The direction of sort: true for ascending, and false for descending
filter

optional

- Filter deleted/ not deleted threads. Available options: DiscussionFilter.
Resource Information
Authentication Required
Required OAuth Scopes view
HTTP Method GET
Request Object None
Response Object PaginatedResults<DiscussionThreadBundle>
(application/json)