Sample - GitHub REST API
GET/assignments/{assignment_id}/gradesDeprecated

Get assignment grades

Retrieves grades for a specific classroom assignment. Supply assignment_id to identify the assignment; this operation is no longer available. This operation is closing down and will be removed on August 28, 2026.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
assignment_idintegerrequired
The unique integer identifier of the classroom assignment.

1 status code
410Returned when the operation is no longer available after the Classroom service sunset.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 410 is returned because this operation is closing down and is no longer available. assignment_id must be an integer identifying the classroom assignment.