---
title: "列出题目 (problem:read)"
method: GET
path: "/problem/"
tags: ["problem"]
---

# 列出题目 (problem:read)

`GET /problem/`

## Query parameters

- `keyword` string
- `problemset_id` integer
- `cursor` integer

## Response `200`

查询成功

- object
  - `problems` ProblemBrief[]
    - `id` integer
    - `title` string, nullable — 题目未发布时此项为 null
    - `url` string, nullable — 题目未发布时此项为 null
    - `submit_url` string, nullable — 题目未发布时此项为 null
    - `html_url` string, nullable — 题目未发布时此项为 null
  - `next` string, nullable — 下一页的地址，最后一页为 null

## Changes

- **2024-08-14** `aa6951cc6ba1` — 1 breaking, 1 warning, 1 info
  - the response property `next` became nullable for the status `200`
  - removed the optional property `submissions` from the response with the `200` status
  - added the optional property `problems` to the response with the `200` status
- **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/problem/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/3255fcbd64fb/schema)
