get_discussions_context | R Documentation |
A group of functions which deal with discussion topics.
get_discussions_context(object_id, object_type = "courses", include = NULL)
get_discussion_id(discussion_id, object_id, object_type = "courses")
update_discussion_id(
discussion_id,
object_id,
message,
object_type = "courses"
)
object_id |
course or group id |
object_type |
"courses" or "groups" |
include |
If "all_dates" is passed, all dates associated with graded discussions' assignments will be included. |
discussion_id |
specific id of discussion to get/update |
message |
new body of discussion id |
get_discussions_context
: get all discussions belonging to a course or group. Note that theoretically this should include announcements, as they are technically discussions, but does not. Use get_announcements
instead.
discussions belonging to requested context
single discussion
silently sends put request and updates
get_discussions_context(4371405)
get_discussion_id(4371405, 1350207)
update_discussion_id(4371405, 1350207, newtext)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.