Showing
1 changed file
with
80 additions
and
0 deletions
1 | +# 口语测评 | ||
2 | + | ||
3 | +### 1. 口语测评完成度 | ||
4 | +api-online.test.boxfish.cn/report/group/{group}}/lesson/{lesson}?access_token=admin | ||
5 | +GET | ||
6 | +访问示例: | ||
7 | +api-online.test.boxfish.cn/report/group/9469/lesson/L3NoYXJlL3N2bi9Ub3BpY1_kuKrkurrmg4XlhrUvMDAzLuWmguS9leaIkOS4uuabtOWlveeahOiHquW3se-8ny54bHN4?access_token=admin | ||
8 | +返回: | ||
9 | +``` | ||
10 | +{ | ||
11 | + "听力测验": [ | ||
12 | + { | ||
13 | + "user_id": 7007, | ||
14 | + "user_name": "Huan", | ||
15 | + "score": 0 | ||
16 | + } | ||
17 | + ], | ||
18 | + "type": [ | ||
19 | + "听力测验" | ||
20 | + ], | ||
21 | + "percentage": "0.17" | ||
22 | +}``` | ||
23 | +说明:此接口增加了percentage字段,表示班级中已经完成的人数比率 | ||
24 | + | ||
25 | + | ||
26 | +### 2. 口语测评成绩提交 | ||
27 | +api-online.test.boxfish.cn/commit/record/batch?access_token=admin | ||
28 | +POST | ||
29 | +body参数: | ||
30 | +``` | ||
31 | +{ | ||
32 | + "cr_list": [{ | ||
33 | + "credit": 1102, | ||
34 | + "fact_score": 1.713699913024902, | ||
35 | + "quiz_id": "oo-11", | ||
36 | + "score": 5, | ||
37 | + "equal": 0.3427399826049805, | ||
38 | + "gold": 0, | ||
39 | + "quiz_type": "ORAL_INTONATION", | ||
40 | + "duration": 46.48099899291992, | ||
41 | + "audio_url": "http:\/\/edu.hivoice.cn:80\/WebAudio-1.0-SNAPSHOT\/audio\/play\/D923E81D-5D41-402F-9A9C-C471AD18B461\/1483583474648405519\/gz", | ||
42 | + "finished_time": 1483583852, | ||
43 | + "channel": "ORAL_TEST" | ||
44 | + }, { | ||
45 | + "credit": 107, | ||
46 | + "fact_score": 0.6627500152587891, | ||
47 | + "quiz_id": "oo-21", | ||
48 | + "score": 1, | ||
49 | + "equal": 0.6627500152587891, | ||
50 | + "gold": 0, | ||
51 | + "quiz_type": "ORAL_DIALOGUE", | ||
52 | + "duration": 15.46100044250488, | ||
53 | + "audio_url": "http:\/\/edu.hivoice.cn:80\/WebAudio-1.0-SNAPSHOT\/audio\/play\/80B813C9-E2CC-4CF7-AF3C-540A876AED20\/1483583541114792703\/gz", | ||
54 | + "finished_time": 1483583852, | ||
55 | + "channel": "ORAL_TEST" | ||
56 | + }, { | ||
57 | + "credit": 307, | ||
58 | + "fact_score": 0.6970199775695801, | ||
59 | + "quiz_id": "oo-31", | ||
60 | + "score": 6, | ||
61 | + "equal": 0.1161699962615967, | ||
62 | + "gold": 0, | ||
63 | + "quiz_type": "ORAL_COMPOSITION", | ||
64 | + "duration": 10.84099960327148, | ||
65 | + "audio_url": "http:\/\/edu.hivoice.cn:80\/WebAudio-1.0-SNAPSHOT\/audio\/play\/E2B6BDE1-D890-4EA8-AF4A-7D1A819DDFA8\/1483583830243491916\/gz", | ||
66 | + "finished_time": 1483583852, | ||
67 | + "channel": "ORAL_TEST" | ||
68 | + }], | ||
69 | + "user_id": "1", | ||
70 | + "lesson_id": "L3NoYXJlL3N2bi_ljJfkuqzlj6Por63ogIPor5UxLzEwMi7ljJfkuqzliJ3kuIDlj6Por63nu4PkuaDpopgyLnhsc3gyjw211" | ||
71 | +} | ||
72 | +``` | ||
73 | +返回参数: | ||
74 | +``` | ||
75 | +{ | ||
76 | + "record_score": 70462, | ||
77 | + "gold": 4876, | ||
78 | + "msg": "success" | ||
79 | +} | ||
80 | +``` |
-
Please register or login to post a comment