Table of Contents
Discussion threads can be made for any realm except users.
Fields
Field | Name | Description | Type | Required |
---|---|---|---|---|
id | Schoology Discussion ID | The internal Schoology ID of the discussion | string | yes |
title | Title | The thread title | string | yes |
body | Thread Body | The thread body | string | |
graded | Graded | Whether or not the discussion is graded | integer {0,1} | |
due | Due Date | When the assignment is due | datetime (YYYY-MM-DD HH:MM:SS) | |
grade_item_id | Grade Item ID | The Id of the grade item associated with this discussion. Mostly used for grades. | integer | |
grading_scale | Grading Scale | The ID of the grading scale for this assignment. For no grading scale, use “0”. Course grading scales can be found on the course Grade Setup page. | integer | default: 0 |
grading_period | Grading Period | The grading period ID to which this assignment belongs. For “Other”, use “0”. | integer | default: 0 |
grading_category | Grading Category | The grading category ID to which this assignment belongs | integer | default: 0 |
max_points | Maximum Points | The maximum number of points for this assignment (excl. extra credit) | float | default: 100 |
factor | Factor | The relative weight of this assignment | float | default: 1.0 |
is_final | Is a Final | Mark this assignment as a midterm or final | {0,1} | default: 0 |
published | Published | Whether or not the discussion is published. Only applies to section discussions NOT associated with topics. | {0,1} | default: 1 |
require_initial_post | Requires Initial Post | Flag indicating whether a member needs to participate before seeing other member posts | {0,1} | default: 0 |
count_in_grade | Count in Grade | Can be used for materials such as pre-assessments or practice work, allowing parents/students to see progress while knowing the score is not impacting a students calculated grade. This field can be used in a POST or PUT operation. It only applies to Course Sections realm and Discussion Thread enabled for grading. | {0,1} | default: 1 |
collected_only | Collected Only | Allows teachers to simply mark materials as completed or not; useful for collecting forms or documenting in-class participation. This field can be used in a POST or PUT operation. It only applies to Course Sections realm and Discussion Thread enabled for grading. | {0,1} | default: 0 |
auto_publish_grades | Automatically Publish Grades | Assignment grades will be visible to students and guardians as soon as they are entered. | {0,1} | default: 1 |
Operations
The operations below are available for the following realms (replace [realm]
with the appropriate realm and ID):
Realm | Path |
---|---|
Districts | districts/{id} |
Schools | schools/{id} |
Course Sections | sections/{id} |
Groups | groups/{id} |
create
Create a discussion thread
Path | |
Content | An object containing discussion thread fields JSON XML
|
Return | An object containing discussion thread fields JSON XML
|
list
View a list discussion threads (paged). The following query strings can (optionally) be appended:
- with_attachments: retrieve attachments of this piece of content.
- with_tags: retrieve tags of this piece of content.
Path | |
Content | none |
Return | A collection of discussion objects, each one containing discussion thread fields JSON XML
|
view
View a specified discussion thread. The following query strings can (optionally) be appended:
- with_attachments: retrieve attachments of this piece of content.
- with_tags: retrieve tags of this piece of content.
Path | |
Content | none |
Return | An object containing discussion thread fields JSON XML
|
update
Modify a discussion thread
Path | |
Content | An object containing discussion thread fields JSON XML
|
Return | none |
delete
Delete a discussion thread (cannot be undone)
Path | |
Content | none |
Return | none |