---
title: "列出提交记录 (submission:read)"
method: GET
path: "/submission/"
tags: ["submission"]
---

# 列出提交记录 (submission:read)

`GET /submission/`

## Query parameters

- `username` string
- `problem_id` integer
- `status` 'accepted' | 'wrong_answer' | 'compile_error' | 'runtime_error' | 'time_limit_exceeded' | 'memory_limit_exceeded' | 'disk_limit_exceeded' | 'memory_leak' | 'pending' | 'compiling' | 'judging' | 'void' | 'aborted' | 'skipped' | 'system_error' | 'bad_problem' | 'unknown_error'
- `lang` 'cpp' | 'python' | 'git' | 'verilog' | 'quiz'
- `cursor` integer

## Response `200`

查询成功

- object
  - `submissions` SubmissionBrief[]
    - `id` integer
    - `friendly_name` string — 提交者昵称
    - `problem` ProblemBrief
      - `id` integer
      - `title` string, nullable — 题目未发布时此项为 null
      - `url` string, nullable — 题目未发布时此项为 null
      - `submit_url` string, nullable — 题目未发布时此项为 null
      - `html_url` string, nullable — 题目未发布时此项为 null
    - `status` 'accepted' | 'wrong_answer' | 'compile_error' | 'runtime_error' | 'time_limit_exceeded' | 'memory_limit_exceeded' | 'disk_limit_exceeded' | 'memory_leak' | 'pending' | 'compiling' | 'judging' | 'void' | 'aborted' | 'skipped' | 'system_error' | 'bad_problem' | 'unknown_error'
    - `language` 'cpp' | 'python' | 'git' | 'verilog' | 'quiz'
    - `created_at` string, date-time
    - `url` string, nullable — 若无权限访问则为 null
    - `html_url` string, nullable — 若无权限访问则为 null
  - `next` string, nullable — 下一页的地址，最后一页为 null

## Changes

- **2024-08-14** `aa6951cc6ba1` — 7 breaking
  - the response property `next` became nullable for the status `200`
  - the response property `submissions/items/html_url` became nullable for the status `200`
  - the response property `submissions/items/problem/html_url` became nullable for the status `200`
  - the response property `submissions/items/problem/submit_url` became nullable for the status `200`
  - …3 more
- **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/submission/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)
