GET /thread/{threadId}/replies
This API is used to get N number of replies for a given thread ID.
Target users: anyone who has READ permission to the project.
Resource URL
https://repo-prod.prod.sagebase.org/repo/v1/thread/{threadId}/replies
Resource URL Variables
{threadId} | - The thread ID to which the returning replies 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 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. |
sort optional |
- The field to sort the resulting replies on. Available options: DiscussionReplyOrder. |
ascending optional |
- The direction of sort: true for ascending, and false for descending |
filter optional |
- Filter deleted/ not deleted replies. Available options: DiscussionFilter. |
Resource Information | |
---|---|
Authentication | Required |
Required OAuth Scopes | view |
HTTP Method | GET |
Request Object | None |
Response Object | PaginatedResults<DiscussionReplyBundle> (application/json) |