Where can I locate the posts made by students in a discussion forum? Which data set and field to use
- Where can I find the archived posts made by students in a discussion forum? I’m interested in reviewing these posts to gain insights into the topics discussed, the questions raised, and the solutions proposed by the students. Could you guide me on how to navigate the data hub to locate these archived discussions?
- I am planning to conduct a data analysis project and I have the following data sets: a) DiscussionForums b) DiscussionTopics and c) DiscussionPosts. Could you advise me on which data set would be the most appropriate for my analysis? Could you also suggest which specific field within the chosen data set would be most relevant and useful for my analysis?
Best Answers
-
@Rogelio.d.245 The full discussion posts are not actually saved to the data sets, only the thread names are. You can read the documentation here. It specifies that you can extract the body of the discussion post through the API.
-
Thank you @Jennifer.W.973 for the information.
Answers
-
Hello @Rogelio.d.245,
The API that you can use is: GET /d2l/api/le/(version)/(orgUnitId)/discussions/forums/(forumId)/topics/(topicId)/posts/.Retrieve all posts in a discussion forum topic.
I hope this helps!
Thank you,
Rusha -
Hi Rusha.S.831
I wanted to express my gratitude for your assistance. With your help, I’ve successfully managed to develop Python code that extracts the body of discussion posts using the provided API.
However, I’ve encountered a challenge regarding the OAuth2 token. I’m having difficulty understanding where and how I can obtain this token. Could you possibly guide me on this matter?
Thank you once again for your invaluable support.