FeasOJ
🇨🇳 Chinese
  • 🇨🇳 Chinese
  • 🇺🇸 English
  1. 题目
FeasOJ
🇨🇳 Chinese
  • 🇨🇳 Chinese
  • 🇺🇸 English
  • 竞赛
    • 获取竞赛列表
      GET
    • 获取指定ID的竞赛信息
      GET
    • 获取指定ID的竞赛所有题目
      GET
    • 获取指定ID的竞赛参与用户列表
      GET
    • 获取用户是否在竞赛中
      GET
    • 加入竞赛
      POST
    • 加入竞赛(带密码)
      POST
    • 退出竞赛
      POST
  • 用户
    • 获取用户信息
      GET
    • 修改头像
      PUT
    • 修改密码
      PUT
    • 更新简介
      PUT
    • 获取用户30天内的提交记录
      GET
  • 题目
    • 获取所有题目
      GET
    • 获取指定题目ID的所有信息
      GET
    • 上传代码
      POST
  • 提交记录
    • 获取30天内的提交记录
      GET
  • 讨论
    • 评论
      • 删除评论
      • 获取指定帖子的评论
      • 添加评论
    • 获取所有帖子
      GET
    • 获取指定帖子信息
      GET
    • 创建讨论
      POST
    • 删除讨论
      DELETE
  • 管理员
    • 竞赛
      • 竞赛计分
      • 获取竞赛分数列表
      • 获取竞赛列表
      • 获取指定竞赛的所有信息
      • 新增/更新竞赛信息
      • 删除竞赛
    • 题目
      • 新增/更新题目信息
      • 删除题目
      • 获取指定题目的所有信息
      • 获取所有题目
    • 用户
      • 获取所有用户详细信息
      • 晋升用户
      • 降级用户
      • 封禁用户
      • 解封用户
    • 获取IP统计数据
      GET
  • 获取排行榜
    GET
  • 登录
    GET
  • 获取邮箱验证码
    GET
  • 验证用户信息
    GET
  • 注册
    POST
  • SSE通知服务
    GET
  1. 题目

获取所有题目

GET
http://127.0.0.1:37881/api/v1/problems
Last modified:2024-12-09 06:35:16

Request

Header Params
username
string 
required
Authorization
string 
required

Responses

🟢200成功
application/json
Body
problems
array [object {8}] 
required
Pid
integer 
题目ID
required
Difficulty
string 
required
Title
string 
题目名称
required
Content
string 
题目内容
required
Timelimit
string 
required
Memorylimit
string 
required
Input
string 
输入样例
required
Output
string 
输出样例
required
Example
{"problems":[{"Pid":1,"Difficulty":"中等","Title":"A+B Problem","Content":"输入两个变量,**A**与**B**,返回它们相加的和。","Timelimit":"1","Memorylimit":"256","Input":"2 3","Output":"5"},{"Pid":2,"Difficulty":"困难","Title":"August","Content":"A<u>A</u>A*A*~~A~~","Timelimit":"1","Memorylimit":"64","Input":"1","Output":"1"}]}
🟢200空题库
Previous
获取用户30天内的提交记录
Next
获取指定题目ID的所有信息
Built with