View source: R/editDiscussionTopic.R
| editDiscussionTopic | R Documentation | 
Edit an exisitng discusson for the provided course or group.
editDiscussionTopic(
  courseID,
  topicID,
  title = NULL,
  message = NULL,
  discussion_type = NULL,
  published = NULL,
  podcast_enabled = NULL,
  podcast_has_student_posts = NULL,
  require_initial_post = NULL,
  is_announcement = NULL,
  pinned = NULL,
  allow_rating = NULL,
  only_graders_can_rate = NULL,
  sort_by_rating = NULL,
  delayed_post_at = NULL,
  lock_at = NULL,
  position_after = NULL,
  group_category_id = NULL,
  points_possible = NULL,
  peer_reviews = NULL,
  automatic_peer_reviews = NULL,
  grading_type = NULL,
  grading_standard_id = NULL,
  due_at = NULL,
  unlock_at = NULL,
  server = "test",
  ...
)
| courseID | Course or group ID to create the discussion in. | 
| topicID | ID for the discussion topic | 
| title | Character of the title of the assignment | 
| message | Character of the discussion message. | 
| discussion_type | Character of the discussion type ("side_comment" or "threaded") | 
| published | Boolean to specify if the discussion is published for availability. | 
| podcast_enabled | Boolean to enable podcast feed. | 
| podcast_has_student_posts | Boolean to include student replies in podcast feed. | 
| require_initial_post | Boolean to specify if user must post first to begin to reply. | 
| is_announcement | Boolean to specify if this is an announcment instead of a discussion. | 
| pinned | Boolean to list as a pinned discussion. | 
| allow_rating | Boolean to allow users to rate entries. | 
| only_graders_can_rate | Boolean to allow only graders to rate. | 
| sort_by_rating | Boolean to sort by rating. | 
| delayed_post_at | POSIXct object of date and time to publish discussion. | 
| lock_at | POSIXct object of date and time of lock date if an assignment | 
| position_after | ID of discussion topic to position this one after. | 
| group_category_id | ID of group to assign discussion to. | 
| points_possible | Integer of the maximum number of points possible | 
| peer_reviews | Boolean to enable peer reviews | 
| automatic_peer_reviews | Boolean to enable automatically assign peer reviewers | 
| grading_type | Character of grading type options (pass_fail, percent, letter_grade, gpa_scale, points) | 
| grading_standard_id | ID of the grading standard to be used | 
| due_at | POSIXct object of date and time of due date if an assignment | 
| unlock_at | POSIXct object of date and time of unlock date if an assignment | 
| server | Test, beta, production, or other name in R.environ OR full url of server | 
| ... | Optional page options to pass to processRequest if an assignment | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.