getDiscussionTopics: Get discussions topics from a course

View source: R/getDiscussionTopics.R

getDiscussionTopicsR Documentation

Get discussions topics from a course

Description

Get discussions for the provided course. Most include parameters ("email", "enrollments","locked","avatar_url","bio") for this request have all been enabled and can be subsetted out if not needed. This excludes "test_student," which has been set to its own argument.

Usage

getDiscussionTopics(
  courseID,
  search_term = NULL,
  scope = NULL,
  order_by = "position",
  only_announcements = NULL,
  server = "test",
  ...
)

Arguments

courseID

Course ID to find assignments for

search_term

Filter results by term. Must be at least 3 characters.

scope

Limit results to a topic state ("locked", "unlocked", "pinned", "unpinned")

only_announcements

Set to "true" for only announcements

server

Test, beta, production, or other name in R.environ OR full url of server

...

Optional page options to pass to processRequest


erikpal/bRush documentation built on May 9, 2023, 8:27 p.m.