- 认证中心
- 用户管理
- 公告功能
- 班级管理
- 错题本功能
- 题库管理
- 考试功能
- 证书功能
- 试题管理
- 成绩管理
- 答卷管理
- 刷题管理
- 考试记录
- 统计信息
单题查询
GET
http://127.0.0.1:8080/api/question/single/{id}
请求参数
Path 参数
id
string
必需
Header 参数
Authorization
string
token
Body 参数application/json
object {0}
示例
{}
示例代码
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://127.0.0.1:8080/api/question/single/' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
code
string
必需
data
object
必需
id
string
必需
content
string
题干
image
string
题干图片
quType
integer
题目类型
analysis
string
题目分析
repoId
integer
所属题库Id
answerList
array [object {5}]
选项列表
msg
string
必需
示例
{
"code": "200",
"data": {
"id": "55",
"content": "est Excepteur",
"image": "http://dummyimage.com/400x400",
"quType": 54,
"analysis": "dolore",
"repoId": 8,
"answerList": [
{
"id": 21,
"content": "anim culpa dolor dolor exercitation",
"is_right": 56,
"image": "http://dummyimage.com/400x400",
"sort": 42
}
]
},
"msg": "id adipisicing Duis aliquip in"
}
修改于 2024-04-15 01:54:57