The Assignment Object

{
  "id": 1, // assigned by codePost API
  "name": "Hello, World",
  "course": 1,
  "points": 20,
  "isReleased": false,
  "rubricCategories": [4,2],
  "fileTemplates": [42],
  "testCategories": [44, 98, 122],
  "sortKey": 0,
  "hideGrades": false,
  "anonymousGrading": true,
  "commentFeedback": true,
  "liveFeedbackMode": false,
  "additiveGrading": false,
  "hideGradersFromStudents": true,
  "allowStudentUpload": true,
  "uploadDueDate": '2019-12-14T06:19:00Z',
  "allowRegradeRequests": false,
  "regradeDeadline": '',
  "forcedRubricMode": false,
  "collaborativeRubricMode": true,
  "showFrequentlyUsedRubricComments": true,    
}
SettingAttributeTypeDescription
idintegerUnique identifier for the object.
namestringThe name of the assignment.
courseIDThe Course object which this assignment is a part of.
pointsintegerThe total number of points possible in the assignment. All submissions will be graded "out of" this value.
isReleasedbooleanIf True, finalized submissions will be viewable by students. See Who can view a submission? for more details.
rubricCategoriesarray of integersA list of Rubric Categories, which constitute this assignment's rubric.
fileTemplatesarray of integersA list of FileTemplates belonging to this assignment.
testCategoriesarray of integersA list of Test Categories belonging to this assignment.
sortKeyintegerKey that defines how Assignments are sorted within the codePost UI.
meanintegerThe mean grade calculated over finalized submissions for this assignment. null if no submissions have been finalized.
medianintegerThe median grade calculated over finalized submissions for this assignment. null if no submission have been finalized.
*hideGradesbooleanAn Assignment setting. If True, students won't be able to view their submission grades for this assignment.
*anonymousGradingbooleanAn Assignment setting. If True, Anonymous Grading Mode will be enabled for this assignment.
*commentFeedbackbooleanAn Assignment setting. If True, Comment Feedback will be enabled for this assignment.
*liveFeedbackModebooleanAn Assignment setting. If True, students will be able to see their submissions and feedback before the submission is finalized or published.
*additiveGradingbooleanAn Assignment setting. If True, grade calculations begin at 0 instead of the assignment.points.
*hideGradersFromStudentsbooleanAn Assignment setting. If True, the graders of a submission will be hidden from students.
*allowStudentUploadbooleanAn Assignment setting. If True, students will be allowed to upload submissions until the upload due date.
*uploadDueDatedatetimeThe date after which students are not allowed to upload submissions. Only applies if assignment.allowStudentUpload is True.
*allowRegradeRequestsbooleanAn Assignment setting. If True students will be allowed to submit regrade requests after their submission has been graded.
*regradeDeadlinedatetimeThe date after which students are not allowed to submit a regrade request. Only applies if allowRegradeRequests is True.
*forcedRubricModebooleanIf True, admins and graders will be prevented from saving comments which do not link to rubric comments.
*collaborativeRubricModebooleanIf True, graders will be allowed to edit the assignment's rubric.
*showFrequentlyUsedRubricCommentsbooleanIf True, frequently used rubric comments will be shown in a special category in the Code Console.