시험 관리
GET 요청을 통해 특정 시험에 대한 데이터를 검색합니다.
GET:https://developer.examjoint.com/exam/{exam_id}
GET 요청을 통해 특정 시험에 대한 질문 데이터를 검색하십시오.
GET:https://developer.examjoint.com/exam/{exam_id}/questions
GET 요청을 통해 특정 시험에 대한 번역 된 질문 데이터를 검색하십시오.
GET:https://developer.examjoint.com/exam/{exam_id}/questions/ru
시험에 강사를 추가하려면 강사 사용자 이름으로 게시물 요청을 보내십시오.
{
"instructor_username": "{username}"
}
시험에서 강사를 제거하려면 강사를 추가 할 때 얻은 UID와 함께 삭제 요청을 보내십시오.
DELETE:https://developer.examjoint.com/exam/{exam_id}/instructors/{instructor_uid}
다음과 같이 풋 요청을 보내서 강사의 권한을 업데이트하십시오.
{
"permissions": [
"exam_tab",
"group_tab",
"result_tab",
"monitor_tab",
"log_tab",
"download_result",
"download_logs",
"download_attendance",
"update_score",
"update_result_status",
"mods_edit",
"edit_exam",
"del_exam"
]
}
사용 가능한 강사 권한은 다음과 같이 나열됩니다.
허가 | 설명 |
---|
exam_tab | view_exam_tab |
group_tab | view_group_tab |
result_tab | view_result_tab |
monitor_tab | view_monitor_tab |
log_tab | view_log_tab |
download_result | download_result |
download_logs | download_logs |
download_attendance | download_attendance |
update_score | update_score |
update_result_status | update_result_status |
mods_edit | add_modify_moderators |
edit_exam | edit_exam |
del_exam | delete_exam |
사용자 이름이나 이메일 주소를 통해 시험을 치르도록 응답자를 초대 할 수 있습니다.
사용자 이름을 사용하여 초대합니다
다음과 같이 게시물 요청을 보내서 사용자 이름을 사용하여 응답자를 초대 할 수 있습니다.
invitationKeys 나중에 초대장을 삭제하는 데 사용할 수 있습니다
{
"respondent": [
"respondent_username",
"...more..username"
]
}
이메일 주소를 사용하여 초대합니다
또한 다음과 같이 응답자에 대한 다른 메타 데이터와 함께 게시물 요청을 보내서 이메일 주소를 사용하여 여러 응답자를 초대 할 수도 있습니다.
invitationKeys 나중에 초대장을 삭제하는 데 사용할 수 있습니다
{
"import": [
{
"email": "[email protected]",
"name": "FirstName LastName",
"photo": "data:base64,WHV4MnJsN2oyZUdmb... or https://example.com/path/to/profile/pic",
"about": "optional random nickname",
"data": "matric_no or other reference about this respondent"
},
"...add...more"
]
}
시험에서 응답자 초대장을 삭제하려면 다음과 같이 삭제 요청을 사용하십시오.
DELETE:https://developer.examjoint.com/exam/{exam_id}/respondents/{invitationKey}