事件列表
请先查阅 事件通知
笔试题管理事件
笔试题创建 written_question_created
event:written_question_created
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 题目ID |
question_type | String | 题目类型,choice 选择题,essay 问答题,programming 编程题,video 音视频题 |
title | String | 题目备注标题 |
description | String | 题目描述 |
key | String | 参考答案 |
suggested_score | Integer | 建议分值 |
content_json | Object | 题目信息,根据题目类型返回不同,见详细说明 |
created_at | String | 创建时间,ISO8601格式 |
updated_at | String | 更新时间,ISO8601格式 |
creator_id | Integer | 创建人Id |
creator_name | String | 创建人名称 |
extend | Object | 扩展参数,由创建时传入 |
content_json 结构说明
question_type 为 choice 选择题时,content_json 结构如下所示
{
"options": [
{
"content": "这是选项A", // 选项内容
"correctly": true, // 是否为正确答案
},
{
"content": "这是选项B",
"correctly": true,
},
{
"content": "这是选项C",
},
]
}
question_type 为 programming 编程题时, content_json 结构如下所示
{
"language": "java", // 编程语言
"code_content": "public class ShowMeBug {}", // 默认代码片段
"unit_content": "public class ShowMeBugTest {}" // 测试用例代码
}
question_type 为 video 音视频题时, content_json 结构如下所示
{
"video_duration": 5, // 最大录制时长
"video_category": "video" // 录制类型, video 音视频 | audio 仅音频
}
笔试题更新 written_question_updated
event:written_question_updated
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 题目ID |
question_type | String | 题目类型,choice 选择题,essay 问答题,programming 编程题,video 音视频题 |
title | String | 题目备注标题 |
description | String | 题目描述 |
key | String | 参考答案 |
suggested_score | Integer | 建议分值 |
content_json | Object | 题目信息,根据题目类型返回不同,见详细说明 |
created_at | String | 创建时间,ISO8601格式 |
updated_at | String | 更新时间,ISO8601格式 |
creator_id | Integer | 创建人Id |
creator_name | String | 创建人名称 |
笔试题删除 written_question_deleted
event:written_question_deleted
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 题目ID |
面试题管理事件
面试题创建 question_created
event:question_created
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 题目ID |
title | String | 题目标题 |
language | String | 题目语言 |
contents | String | 题目内容及代码 |
description | String | 题目备注描述 |
created_at | String | 创建时间,ISO8601格式 |
updated_at | String | 更新时间,ISO8601格式 |
creator_id | Integer | 创建人Id |
creator_name | String | 创建人名称 |
extend | Object | 扩展参数,由创建时传入 |
面试题更新 question_updated
event:question_updated
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 题目ID |
title | String | 题目标题 |
language | String | 题目语言 |
contents | String | 题目内容及代码 |
description | String | 题目备注描述 |
created_at | String | 创建时间,ISO8601格式 |
updated_at | String | 更新时间,ISO8601格式 |
creator_id | Integer | 创建人Id |
creator_name | String | 创建人名称 |
面试题删除 question_deleted
event:question_deleted
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 题目ID |
试卷管理事件
试卷创建 written_exam_created
event: written_exam_created
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 试卷ID |
name | String | 试卷名称 |
duration | Integer | 试卷时长,单位分钟 |
score | Integer | 试卷总分 |
questions_count | Integer | 题目数 |
created_at | String | 创建时间,ISO8601格式 |
updated_at | String | 更新时间,ISO8601格式 |
creator_id | Integer | 创建人Id |
creator_name | String | 创建人名称 |
extend | Object | 扩展参数,由创建时传入 |
试卷更新 written_exam_updated
event: written_exam_updated
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 试卷ID |
name | String | 试卷名称 |
duration | Integer | 试卷时长,单位分钟 |
score | Integer | 试卷总分 |
questions_count | Integer | 题目数 |
created_at | String | 创建时间,ISO8601格式 |
updated_at | String | 更新时间,ISO8601格式 |
creator_id | Integer | 创建人Id |
creator_name | String | 创建人名称 |
试卷删除 written_exam_deleted
event:wwritten_exam_deleted
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 试卷ID |
笔试事件
笔试已开始 exam_started
event:exam_started
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 笔试ID |
uid | String | 笔试UID |
name | String | 笔试板名称 |
exam_id | Integer | 试卷id |
exam_name | String | 试卷名称 |
started_at | String | 笔试开始时间,iso8601格式 |
笔试已放弃 exam_abandoned
event:exam_abandoned
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 笔试ID |
uid | String | 笔试UID |
name | String | 笔试板名称 |
exam_id | Integer | 试卷id |
exam_name | String | 试卷名称 |
exam_time | Integer | 笔试时长,单位为秒 |
started_at | String | 笔试开始时间,iso8601格式 |
abandoned_at | String | 笔试放弃时间,iso8601格式 |
笔试已提交 exam_submitted
event:exam_submitted
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 笔试ID |
uid | String | 笔试UID |
name | String | 笔试板名称 |
exam_id | Integer | 试卷id |
exam_name | String | 试卷名称 |
exam_time | Integer | 笔试时长,单位为秒 |
started_at | String | 笔试开始时间,iso8601格式 |
submitted_at | String | 笔试提交时间,iso8601格式 |
switch_screen_count | Integer | 切屏次数 |
switch_screen_time_seconds | Integer | 切屏总时间,单位秒 |
url | String | 笔试详情链接 |
笔试评卷完成 exam_reviewed
event:exam_reviewed
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 笔试ID |
uid | String | 笔试UID |
name | String | 笔试板名称 |
exam_id | Integer | 试卷id |
exam_name | String | 试卷名称 |
started_at | String | 笔试开始时间,iso8601格式 |
submitted_at | String | 笔试提交时间,iso8601格式 |
reviewed_at | String | 评卷时间,iso8601格式 |
exam_time | Integer | 笔试时长,单位为秒 |
switch_screen_count | Integer | 切屏次数 |
switch_screen_time | Integer | 切屏总时长 |
total_score | Integer | 笔试总分数 |
score | Integer | 候选人得分 |
evaluation | String | 面试官评价 |
笔试分数调整 exam_score_changed
event: exam_score_changed
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 笔试ID |
uid | String | 笔试UID |
score | Integer | 候选人得分 |
笔试已删除 exam_deleted
event:exam_deleted
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 笔试ID |
uid | String | 笔试UID |
deleted_at | String | 笔试删除时间,iso8601格式 |
面试事件
面试开始 interview_started
event: interview_started
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 面试ID |
uid | String | 面试UID |
name | String | 面试板名称 |
started_at | String | 开始时间,iso8601格式,例:2020-10-01T16:00:00+08:00 |
面试结束 interview_ended
event: interview_ended
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 面试ID |
uid | String | 面试UID |
note | String | 面试官此次面试的面试记录 |
rate | Integer | 评分 |
interview_evaluation | String | 面试评价 |
ended_at | String | 结束时间,iso8601格式,例:2020-10-01T16:00:00+08:00 |
switch_screen_count | Integer | 切屏次数 |
switch_screen_time | Integer | 切屏时间,单位为秒 |
面试已删除 interview_deleted
event:interview_deleted
事件内容(payload)
字段名 | 类型 | 描述 |
---|---|---|
id | Integer | 面试ID |
uid | String | 面试UID |
deleted_at | String | 面试删除时间,iso8601格式 |