---
title: "列出班级的比赛和作业 (无需 scope)"
method: GET
path: "/course/{course}/problemsets"
tags: ["course"]
---

# 列出班级的比赛和作业 (无需 scope)

`GET /course/{course}/problemsets`

## Path parameters

- `course` integer, required

## Response `200`

查询成功

- object
  - `problemsets` Course[]
    - `id` integer
    - `name` string
    - `description` string
    - `tag` CourseTag
      - `id` integer
      - `name` string
    - `term` Term
      - `id` integer
      - `name` string
      - `start_time` string, date-time
      - `end_time` string, date-time
    - `url` string
    - `join_url` string, nullable
    - `quit_url` string, nullable
    - `html_url` string

## Changes

- **2024-08-14** `aa6951cc6ba1` — 4 breaking
  - the response property `problemsets/items/join_url` became nullable for the status `200`
  - the response property `problemsets/items/quit_url` became nullable for the status `200`
  - the response property `problemsets/items/tag` became nullable for the status `200`
  - the response property `problemsets/items/term` became nullable for the status `200`
- **2024-08-14** `31431aaf46d3` — 1 info
  - endpoint added
- **2024-08-12** `abf18f0fc1b3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/changes/course/:course/problemsets/get.md)

---

[API](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1.md) · [All operations](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/acmclassoj/acmoj-api-v1/revisions/b263b49cfa50/schema)
