- 用户模块
- 题目模块
- 提交模块
- 竞赛模块
- 笔记模块
- ChatGPT聊天POST
获取样例
开发中
GET
/problem/testcase/{id}
请求参数
Path 参数
id
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:8888/api/v1/problem/testcase/'
返回响应
🟢200成功
application/json
Body
status_code
integer
必需
status_msg
string
必需
testcase
object
可选
id
integer
必需
problem_id
integer
必需
input_path
string
必需
output_path
string
必需
示例
{
"status_code": 0,
"status_msg": "string",
"testcase": {
"id": 0,
"problem_id": 0,
"input_path": "string",
"output_path": "string"
}
}
修改于 2023-09-20 04:38:27