Get Assignment
get_assignmentGet the full assignment record for one assignment by ID, including every include extra requested. Get the assignment_id from list_assignments, which also supports fields="slim" for scanning many assignments before fetching one here in…
Instructions
Get the full assignment record for one assignment by ID, including every include extra requested. Get the assignment_id from list_assignments, which also supports fields="slim" for scanning many assignments before fetching one here in full. include adds submission (the current user's own), assignment_visibility, overrides, observed_users, can_edit, and score_statistics — each omitted from the response unless requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Extra fields to include on the assignment (Canvas include[] param) | |
| all_dates | No | Return all dates associated with this assignment | |
| course_id | Yes | The Canvas course ID | |
| assignment_id | Yes | The Canvas assignment ID | |
| override_assignment_dates | No | Apply assignment overrides to due/unlock/lock dates | |
| needs_grading_count_by_section | No | Break needs_grading_count down by section |