classroom
Closing down - List assignments for a classroom
[!WARNING] Closing down notice: This operation is closing down and will be removed on August 28, 2026. For more information, see the GitHub Classroom sunset notice.
Lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom.
get/classrooms/{classroom_id}/assignments
Path parameters
classroom_idinteger required
The unique identifier of the classroom.
Query parameters
pageinteger
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
per_pageinteger
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
Response
Response
Example response
[
{
"id": 42,
"public_repo": true,
"title": "Intro to Binaries",
"type": "individual",
"invite_link": "https://classroom.github.com/a/Lx7jiUgx",
"invitations_enabled": true,
"slug": "intro-to-binaries",
"students_are_repo_admins": true,
"feedback_pull_requests_enabled": true,
"editor": "codespaces",
"accepted": 25,
"submitted": 10,
"passing": 10,
"language": "elixir",
"deadline": "2011-01-26T19:06:43Z",
"classroom": {
"id": 42,
"name": "Programming Elixir",
"url": "https://classroom.github.com/classrooms/1-programming-elixir"
}
}
]