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

Get a classroom assignment

Retrieves a classroom assignment by its unique identifier. 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 identifier of the classroom assignment.

1 status code
410Returned because the classroom assignment operation is no longer available as of August 28, 2026.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 410 is returned because this operation is closing down. While it remains available, assignment_id must identify the classroom assignment to retrieve.