Alright, so, from my testing I have determined that using not_graded works despite the documentation not listing it. Here's an example array that I used for testing:
array(
'assignment' => array(
'name' => 'Ungraded API Test',
'position' => 1000,
'submission_types' => array('not_graded'),
'integration_id' => null,
'integration_data' => new stdClass(),
'peer_reviews' => false,
'automatic_peer_reviews' => false,
'group_category_id' => null,
'grade_group_students_individually' => false,
'points_possible' => null,
'grading_type' => 'not_graded',
'due_at' => null,
'lock_at' => null,
'unlock_at' => null,
'description' => '',
'muted' => false,
'only_visible_to_overrides' => false,
'published' => true,
'grading_standard_id' => null
)
)
Note: The submission_types is an array containing a single non-associative value of "not_graded". In addition, the grading_type is a string also containing "not_graded". Both must be set for it to be properly configured.
It's not much of an example, but it did successfully create the assignment, placed it in the topmost assignments category, and it did no appear in the gradebook. To be certain, I tested wtih assignment['assignment_group_id'] and was able to place it in the category of my choosing without issue. As far as I can tell, nearly all the settings listed in the documentation are acceptable to not_graded assignments.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.