DYH云

DYH开放接口


获取人员监考记录

[TOC]

简要描述
  • 获取人员监考记录
请求URL
  • api/contest.monitor/getMonitorPlatform
请求方式
  • GET
参数
参数名 必选 类型 说明
contestId int 竞赛id
page int 页数 默认1
limit int 每页数量 默认10
返回示例
  {
    "code": 20000,
    "msg": "success",
    "time": "2022-06-30 15:50:41",
    "data": {
        "count": 101,
        "list": [
            {
                "platformId": 33409,
                "username": "hxlajs046",
                "realName": "学生46",
                "avatar": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202007/03/a8b93c7d109b1678094d23fb39650313.jpg",
                "introduce": "",
                "monitor": []  #监考记录  里面包含三个key 对应的一个value 是监考最新状态
            },
            {
                "platformId": 33410,
                "username": "hxlajs047",
                "realName": "学生47",
                "avatar": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202007/03/a8b93c7d109b1678094d23fb39650313.jpg",
                "introduce": "",
                "monitor": {
                    "alert": {   #'alert(切屏) env(环境摄像头使用) face(人像摄像头)'
                        "monitorId": 8061,
                        "contestId": 4162,
                        "contestGradesId": 37873,
                        "platformIdEd": 33410,
                        "step": "webScript",
                        "level": "alert",
                        "msg": "用户切屏了",
                        "img": "http://edu-evaluation.oss-cn-shanghai.aliyuncs.com/uploads/faceali/frontend_face_img/1656162588.png",
                        "status": 1,
                        "addTime": "2022-06-25 21:09:48",
                        "updateTime": "2022-06-25 21:09:48"
                    }
                }
            },
            {
                "platformId": 33411,
                "username": "hxlajs048",
                "realName": "学生48",
                "avatar": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202007/03/a8b93c7d109b1678094d23fb39650313.jpg",
                "introduce": "",
                "monitor": []
            }
        ]
    }
}
返回参数说明
参数名 类型 说明
groupid int 用户组id,1:超级管理员;2:普通用户
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML