---
title: "Closing down - List assignments for a classroom"
method: GET
path: "/classrooms/{classroom_id}/assignments"
tags: ["classroom"]
deprecated: true
---

# Closing down - List assignments for a classroom

`GET /classrooms/{classroom_id}/assignments`

> **Deprecated.**

> [!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](https://gh.io/classroom-sunset).

Lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom.

## Path parameters

- `classroom_id` integer, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Response

- SimpleClassroomAssignment[]
  - `id` integer, required — Unique identifier of the repository.
  - `public_repo` boolean, required — Whether an accepted assignment creates a public repository.
  - `title` string, required — Assignment title.
  - `type` 'individual' | 'group', required — Whether it's a Group Assignment or Individual Assignment.
  - `invite_link` string, required — The link that a student can use to accept the assignment.
  - `invitations_enabled` boolean, required — Whether the invitation link is enabled. Visiting an enabled invitation link will accept the assignment.
  - `slug` string, required — Sluggified name of the assignment.
  - `students_are_repo_admins` boolean, required — Whether students are admins on created repository on accepted assignment.
  - `feedback_pull_requests_enabled` boolean, required — Whether feedback pull request will be created on assignment acceptance.
  - `max_teams` integer, nullable — The maximum allowable teams for the assignment.
  - `max_members` integer, nullable — The maximum allowable members per team.
  - `editor` string, required — The selected editor for the assignment.
  - `accepted` integer, required — The number of students that have accepted the assignment.
  - `submitted` integer, required — The number of students that have submitted the assignment.
  - `passing` integer, required — The number of students that have passed the assignment.
  - `language` string, required — The programming language used in the assignment.
  - `deadline` string, date-time, nullable, required — The time at which the assignment is due.
  - `classroom` SimpleClassroom, required — A GitHub Classroom classroom
    - `id` integer, required — Unique identifier of the classroom.
    - `name` string, required — The name of the classroom.
    - `archived` boolean, required — Returns whether classroom is archived or not.
    - `url` string, required — The url of the classroom on GitHub Classroom.

## Other responses

- `410` — Gone

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
