AnsweredAssumed Answered

Retrieve Older Replies than the most recent 10

Question asked by Paul Horng-Jyh Wu on Jul 26, 2018
Latest reply on Jul 29, 2018 by James Jones

In the Discussion Topics - Canvas LMS REST API Documentation, there is a section as follows:

 

List topic entriesDiscussionTopicsApiController#entries

GET /api/v1/courses/:course_id/discussion_topics/:topic_id/entries

Scope: url:GET|/api/v1/courses/:course_id/discussion_topics/:topic_id/entries

GET /api/v1/groups/:group_id/discussion_topics/:topic_id/entries

Scope: url:GET|/api/v1/groups/:group_id/discussion_topics/:topic_id/entries

Retrieve the (paginated) top-level entries in a discussion topic.

May require (depending on the topic) that the user has posted in the topic. If it is required, and the user has not posted, will respond with a 403 Forbidden status and the body 'require_initial_post'.

Will include the 10 most recent replies, if any, for each entry returned.

If the topic is a root topic with children corresponding to groups of a group assignment, entries from those subtopics for which the user belongs to the corresponding group will be returned.

Ordering of returned entries is newest-first by posting timestamp (reply activity is ignored).

 

My question is if there are more than 10 replies, how could they be retrieved.

 

Thanks,

Paul

Outcomes