Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
闫镜湾
2017-03-31 16:21:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a1aa4f0b4f0a78f07ca85620cfcfad2cd5213f9a
a1aa4f0b
1 parent
15eab469
格式空格1111
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
0 deletions
yjw接口文档/y口语测评.md
yjw接口文档/y口语测评.md
View file @
a1aa4f0
# 口语测评
### 1. 口语测评完成度
api-online.test.boxfish.cn/report/group/{group}}/lesson/{lesson}?access_token=admin
GET
访问示例:
api-online.test.boxfish.cn/report/group/9469/lesson/L3NoYXJlL3N2bi9Ub3BpY1_kuKrkurrmg4XlhrUvMDAzLuWmguS9leaIkOS4uuabtOWlveeahOiHquW3se-8ny54bHN4?access_token=admin
返回:
```
{
"听力测验"
:
[
{
"user_id"
:
7007
,
"user_name"
:
"Huan"
,
"score"
:
0
}
],
"type"
:
[
"听力测验"
],
"percentage"
:
"0.17"
}```
说明:此接口增加了percentage字段,表示班级中已经完成的人数比率
### 2. 口语测评成绩提交
api-online.test.boxfish.cn/commit/record/batch?access_token=admin
POST
body参数:
```
{
"cr_list"
:
[{
"credit"
:
1102
,
"fact_score"
:
1.713699913024902
,
"quiz_id"
:
"oo-11"
,
"score"
:
5
,
"equal"
:
0.3427399826049805
,
"gold"
:
0
,
"quiz_type"
:
"ORAL_INTONATION"
,
"duration"
:
46.48099899291992
,
"audio_url"
:
"http:\/\/edu.hivoice.cn:80\/WebAudio-1.0-SNAPSHOT\/audio\/play\/D923E81D-5D41-402F-9A9C-C471AD18B461\/1483583474648405519\/gz"
,
"finished_time"
:
1483583852
,
"channel"
:
"ORAL_TEST"
},
{
"credit"
:
107
,
"fact_score"
:
0.6627500152587891
,
"quiz_id"
:
"oo-21"
,
"score"
:
1
,
"equal"
:
0.6627500152587891
,
"gold"
:
0
,
"quiz_type"
:
"ORAL_DIALOGUE"
,
"duration"
:
15.46100044250488
,
"audio_url"
:
"http:\/\/edu.hivoice.cn:80\/WebAudio-1.0-SNAPSHOT\/audio\/play\/80B813C9-E2CC-4CF7-AF3C-540A876AED20\/1483583541114792703\/gz"
,
"finished_time"
:
1483583852
,
"channel"
:
"ORAL_TEST"
},
{
"credit"
:
307
,
"fact_score"
:
0.6970199775695801
,
"quiz_id"
:
"oo-31"
,
"score"
:
6
,
"equal"
:
0.1161699962615967
,
"gold"
:
0
,
"quiz_type"
:
"ORAL_COMPOSITION"
,
"duration"
:
10.84099960327148
,
"audio_url"
:
"http:\/\/edu.hivoice.cn:80\/WebAudio-1.0-SNAPSHOT\/audio\/play\/E2B6BDE1-D890-4EA8-AF4A-7D1A819DDFA8\/1483583830243491916\/gz"
,
"finished_time"
:
1483583852
,
"channel"
:
"ORAL_TEST"
}],
"user_id"
:
"1"
,
"lesson_id"
:
"L3NoYXJlL3N2bi_ljJfkuqzlj6Por63ogIPor5UxLzEwMi7ljJfkuqzliJ3kuIDlj6Por63nu4PkuaDpopgyLnhsc3gyjw211"
}
```
返回参数:
```
{
"record_score"
:
70462
,
"gold"
:
4876
,
"msg"
:
"success"
}
```
\ No newline at end of file
...
...
Please
register
or
login
to post a comment