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