Appearance
获取考试详情
| 拥有此API的权限集 |
|---|
| 考试管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.examination.detail.get/1.0.0 - 频率限制:
10秒2000次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| id | 是 | string | 考试id |
请求示例
{
"access_token": "xe_xxxxx"
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 请求状态描述信息 |
| data | object | 当前页数 |
| data.exam_info | object | 考试信息 |
data.exam_info 考试信息
| 参数名 | 类型 | 说明 |
|---|---|---|
| name | string | 考试名称 |
| img_url | string | 考试封面图 |
| img_url_compressed | string | 考试封面图压缩图 |
| detail | string | 考试简介 |
| total_question | int | 考试总题目数 |
| total_score | int | 考试总分 |
| commit_count | int | 考试提交人数 |
| comment_count | int | 考试批阅人数 |
| exam_time | int | 考试限时时长 |
| exam_chance | int | 考试次数 0-不限,大于0,则限制对应的考试次数 |
| reexam_interval | int | 考试重考间隔 |
| state | int | 考试状态0-未发布 1-已发布 2-删除 3-停止发布 4-定时发布 |
| exam_time_radio | int | 考试时间限制开关 0不限制 1限制 |
| exam_start_time | string | 考试时间限制,开始时间 |
| exam_end_time | string | 考试时间限制,结束时间 |
| created_at | string | 考试创建时间 |
| open_watermark | int | 考试水印 0-关闭 1-开启 |
| immediate_reexam | int | 考试未批阅可重考 0-关闭 1-开启 |
返回示例
{
"code": 0,
"data": {
"exam_info": {
"comment_count": 0,
"commit_count": 0,
"created_at": "2021-11-19 11:04:04",
"detail": "<p>123</p>",
"exam_chance": 1,
"exam_end_time": "0000-00-00 00:00:00",
"exam_start_time": "0000-00-00 00:00:00",
"exam_time": 0,
"exam_time_radio": 0,
"img_url": "https://wechatapppro-1252524126.file.myqcloud.com/image/ueditor/82305700_1636016039.png",
"img_url_compressed": "http://wechatapppro-1252524126.file.myqcloud.com/app2zAQRfES7918/image/compress/20011282305700_1636016039.png",
"immediate_reexam": 0,
"name": "测试随机试题数1",
"open_watermark": 0,
"reexam_interval": 1,
"state": 1,
"total_question": 5,
"total_score": 10
},
"has_user": 0
},
"msg": "操作成功"
}